diff options
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/chrome_switches.cc | 4 | ||||
-rw-r--r-- | chrome/common/chrome_switches.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc index 0fb2a08..879d7b1 100644 --- a/chrome/common/chrome_switches.cc +++ b/chrome/common/chrome_switches.cc @@ -407,6 +407,10 @@ const wchar_t kEnableWebWorkers[] = L"enable-web-workers"; // Causes the worker process allocation to use as many processes as cores. const wchar_t kWebWorkerProcessPerCore[] = L"web-worker-process-per-core"; +// Causes workers to run together in one process, depending on their domains. +// Note this is duplicated in webworkerclient_impl.cc +const wchar_t kWebWorkerShareProcesses[] = L"web-worker-share-processes"; + // Enables experimental views under gtk. const wchar_t kViewsGtk[] = L"views-gtk"; diff --git a/chrome/common/chrome_switches.h b/chrome/common/chrome_switches.h index c95634c..46dd746 100644 --- a/chrome/common/chrome_switches.h +++ b/chrome/common/chrome_switches.h @@ -154,8 +154,8 @@ extern const wchar_t kIPCUseFIFO[]; extern const wchar_t kEnableOutOfProcessDevTools[]; extern const wchar_t kEnableWebWorkers[]; - extern const wchar_t kWebWorkerProcessPerCore[]; +extern const wchar_t kWebWorkerShareProcesses[]; extern const wchar_t kViewsGtk[]; |