1. 16 Sep, 2016 1 commit
    • hashimoto's avatar
      Record shutdown type UMA · dc347b79
      hashimoto authored
      To investigate how frequently unclean shutdown is performed.
      
      Start recording a new UMA Shutdown.ShutdownType.
      Update prefs::kShutdownType when Chrome is performing unclean shutdown with SessionEnding().
      
      BUG=644649
      
      Review-Url: https://codereview.chromium.org/2318373003
      Cr-Commit-Position: refs/heads/master@{#419123}
      dc347b79
  2. 26 Jul, 2016 1 commit
  3. 26 Dec, 2015 1 commit
  4. 08 Oct, 2015 1 commit
  5. 02 Oct, 2015 1 commit
  6. 25 Mar, 2014 3 commits
  7. 06 Feb, 2013 1 commit
  8. 22 Dec, 2012 1 commit
  9. 11 Jul, 2012 1 commit
  10. 14 Jun, 2012 1 commit
  11. 28 Nov, 2011 3 commits
  12. 24 Oct, 2011 1 commit
    • oshima@chromium.org's avatar
      Chrome OS: Shutdown without blocking when SIGTERM is received. · 2b89cb91
      oshima@chromium.org authored
       Made ShuttingDownWithoutCloseBrowsers a explicit flag.
       Use END_SESSION shutdown type if chrome recieves SIGTERM AND there are tabs that may
       block shutdown.
       Make sure APP_TERMINATING is sent only once.
      
      This fixes SIGABORT crash in two shutdown scenarios:
      1) powering off when chrome has beforeunload handler, or
      downloads in progress.
      2) singout from screen locker when chrome has beforeunload handler or downloads in progress.
      
       This is simple version of fix to merge to release branch. I'm working on
      another CL that will (hopefully) cleanup a bit more.
      
      BUG=chromium-os:20460
      TEST=see bug for repro step
      
      
      Review URL: http://codereview.chromium.org/8262009
      
      git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106988 0039d316-1c4b-4281-b951-d872f2087c98
      2b89cb91
  13. 19 Jul, 2011 1 commit
  14. 13 Sep, 2010 1 commit
  15. 10 Sep, 2010 2 commits
  16. 26 Jul, 2010 1 commit
  17. 20 Jul, 2010 1 commit
    • atwilson@chromium.org's avatar
      Moved code that generates APP_TERMINATING notification into BrowserList so it... · c984d9f8
      atwilson@chromium.org authored
      Moved code that generates APP_TERMINATING notification into BrowserList so it can be used on all platforms. Updated observers (ExtensionProcessManager,
      BackgroundContents) to listen for APP_TERMINATING instead of listening for
      BROWSER_CLOSED on some platforms.
      
      APP_TERMINATING is now sent just before the main message loop exits rather than  just after, but no code depends on this timing.
      
      Updated Mac code to always call BrowserList::CloseAllBrowsers() even if there
      are no open browsers, to ensure that APP_TERMINATING is always fired.
      
      Changed BackgroundContentsService to keep the browser process alive when there
      are BackgroundContents running and updated the unit tests.
      
      Renamed BrowserList::IsInPersistentMode() => WillShutdownWhenLastBrowserCloses() and AllBrowsersClosed() => AllBrowsersClosedAndAppExiting() to more precisely indicate their true functions.
      
      Exposed BrowserProcess::ModuleRefCount() so BrowserList can determine when the application is going to exit so the right notifications/callbacks can be generated.
      
      Updated background-auto-update-restart code to use new BrowserList APIs to determine whether the application is running "in the background".
      
      Added code to cancel shutdown on all plaforms if the user selects cancel in an onbeforeunload dialog.
      BUG=45275
      TEST=RunInBackgroundTest (ui_test)
      
      Review URL: http://codereview.chromium.org/2866034
      
      git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53092 0039d316-1c4b-4281-b951-d872f2087c98
      c984d9f8
  18. 09 Apr, 2010 1 commit
  19. 02 Oct, 2009 1 commit
  20. 10 Mar, 2009 1 commit
  21. 28 Jan, 2009 1 commit
  22. 24 Aug, 2008 1 commit
  23. 26 Jul, 2008 3 commits