summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authortessamac@chromium.org <tessamac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-31 16:27:44 +0000
committertessamac@chromium.org <tessamac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-31 16:27:44 +0000
commitf72d0c685a4a4a94036fb5b638979d9e3546224d (patch)
tree9c05705557ed2e2fc12cf4726031d78c2c60d2a2 /chrome/common
parentf258e97dc776069ee60028ca949b93b297300b3b (diff)
downloadchromium_src-f72d0c685a4a4a94036fb5b638979d9e3546224d.zip
chromium_src-f72d0c685a4a4a94036fb5b638979d9e3546224d.tar.gz
chromium_src-f72d0c685a4a4a94036fb5b638979d9e3546224d.tar.bz2
Lazy creation of background pages with --enable-lazy-background-pages
BUG=81752 TEST=None Review URL: http://codereview.chromium.org/7672009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98981 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/chrome_switches.cc4
-rw-r--r--chrome/common/chrome_switches.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index 77a1942..930ca1a 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -472,6 +472,10 @@ const char kEnableIPCFuzzing[] = "enable-ipc-fuzzing";
// attempt to use the existing connection.
const char kEnableIPPooling[] = "enable-ip-pooling";
+// Enables some extension background pages to be loaded when they are
+// needed rather than when the extensions are first loaded.
+const char kEnableLazyBackgroundPages[] = "enable-lazy-background-pages";
+
// Enables MAC cookies in the network stack. These cookies use HMAC to
// protect session state from passive network attackers.
// http://tools.ietf.org/html/draft-hammer-oauth-v2-mac-token
diff --git a/chrome/common/chrome_switches.h b/chrome/common/chrome_switches.h
index c484cc2..3c87392 100644
--- a/chrome/common/chrome_switches.h
+++ b/chrome/common/chrome_switches.h
@@ -137,6 +137,7 @@ extern const char kEnableInlineWebstoreInstall[];
extern const char kEnableIPv6[];
extern const char kEnableIPCFuzzing[];
extern const char kEnableIPPooling[];
+extern const char kEnableLazyBackgroundPages[];
extern const char kEnableMacCookies[];
extern const char kEnableMemoryInfo[];
extern const char kEnableNaCl[];