diff options
author | atwilson@chromium.org <atwilson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-05 23:31:38 +0000 |
---|---|---|
committer | atwilson@chromium.org <atwilson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-05 23:31:38 +0000 |
commit | ce6564de3870a55541b8c71b635eb8b3ff20f313 (patch) | |
tree | 7b3d859970f1d3878873ded09b982f09a698cbb9 /chrome/common | |
parent | 1e0e74b3fb524d65666cddebe723db855021a706 (diff) | |
download | chromium_src-ce6564de3870a55541b8c71b635eb8b3ff20f313.zip chromium_src-ce6564de3870a55541b8c71b635eb8b3ff20f313.tar.gz chromium_src-ce6564de3870a55541b8c71b635eb8b3ff20f313.tar.bz2 |
Added support for --enable-shared-workers
Added a --enable-shared-workers flag, and return false from SharedWorkerRepository::isAvailable() if it is not set.
BUG=26233
TEST=None (unit tests do not run yet)
Review URL: http://codereview.chromium.org/372004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31162 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/chrome_switches.cc | 3 | ||||
-rw-r--r-- | chrome/common/chrome_switches.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc index 60736d2..76df0e3 100644 --- a/chrome/common/chrome_switches.cc +++ b/chrome/common/chrome_switches.cc @@ -217,6 +217,9 @@ const char kEnableSeccompSandbox[] = "enable-seccomp-sandbox"; // Enable session storage. Still buggy. const char kEnableSessionStorage[] = "enable-session-storage"; +// Enable shared workers. Functionality not yet complete. +const char kEnableSharedWorkers[] = "enable-shared-workers"; + // Enables StatsTable, logging statistics to a global named shared memory table. const char kEnableStatsTable[] = "enable-stats-table"; diff --git a/chrome/common/chrome_switches.h b/chrome/common/chrome_switches.h index 2d387cd..d42347b 100644 --- a/chrome/common/chrome_switches.h +++ b/chrome/common/chrome_switches.h @@ -77,6 +77,7 @@ extern const char kEnableRemoteFonts[]; extern const char kEnableRendererAccessibility[]; extern const char kEnableSeccompSandbox[]; extern const char kEnableSessionStorage[]; +extern const char kEnableSharedWorkers[]; extern const char kEnableStatsTable[]; extern const char kEnableTabtastic2[]; extern const char kEnableUserDataDirProfiles[]; |