diff options
author | sadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-13 20:07:32 +0000 |
---|---|---|
committer | sadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-13 20:07:32 +0000 |
commit | 41619a9a170f58ba841613b30d405340e60e5b58 (patch) | |
tree | 0613568b613ae365180bc1a46537884ac4ae5f62 /chrome/common/chrome_switches.h | |
parent | c08805c3c24fce0f61bf2838a219ae8651a0e375 (diff) | |
download | chromium_src-41619a9a170f58ba841613b30d405340e60e5b58.zip chromium_src-41619a9a170f58ba841613b30d405340e60e5b58.tar.gz chromium_src-41619a9a170f58ba841613b30d405340e60e5b58.tar.bz2 |
apps: Add 'background_page' support for hosted apps.
A hosted app can have a 'background_page' if it has 'background' 'permission'.
The 'background_page' will launch immediately after the app is installed.
BUG=77718
TEST=AppBackgroundPageApiTest.ManifestBackgroundPage, and existing tests.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=81438
Review URL: http://codereview.chromium.org/6708100
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81467 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/chrome_switches.h')
-rw-r--r-- | chrome/common/chrome_switches.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/common/chrome_switches.h b/chrome/common/chrome_switches.h index 582c41d..640e764 100644 --- a/chrome/common/chrome_switches.h +++ b/chrome/common/chrome_switches.h @@ -26,6 +26,7 @@ namespace switches { extern const char kActivateOnLaunch[]; extern const char kAllowFileAccess[]; extern const char kAllowOutdatedPlugins[]; +extern const char kAllowHTTPBackgroundPage[]; extern const char kAllowScriptingGallery[]; extern const char kAlwaysAuthorizePlugins[]; extern const char kAlwaysEnableDevTools[]; |