Add chrome://quit to shut down Chrome, including packaged apps.
commitc56b19345d5925bf8d37600ca2ff9847e3f1e0c0
authorsammc@chromium.org <sammc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 3 Dec 2013 03:27:42 +0000 (3 03:27 +0000)
committersammc@chromium.org <sammc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 3 Dec 2013 03:27:42 +0000 (3 03:27 +0000)
tree00b578d0d64605aa8dd255e3e853644bfe3df118
parentf8ed472d365a2a65b604b825beefa53d26294617
Add chrome://quit to shut down Chrome, including packaged apps.

Now that packaged apps are not quit when using wrench quit, there is no
way to completely shut down Chrome. While this is normally a good thing
as apps are intended to be separate from Chrome, for developers and
other power users, the ability to completely shut down Chrome can be a
useful function. This also blacklists chrome://quit and chrome://restart
from being saved to the user's session to prevent quit or restart loops.

BUG=317414

Review URL: https://codereview.chromium.org/84893002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238290 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/browser_about_handler.cc
chrome/browser/sessions/base_session_service.cc
chrome/browser/sessions/session_service_unittest.cc
chrome/common/url_constants.cc
chrome/common/url_constants.h