diff options
author | eroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-10 20:44:47 +0000 |
---|---|---|
committer | eroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-10 20:44:47 +0000 |
commit | 8e69495160c6548aca20903b10b5c44f76958c21 (patch) | |
tree | 261754db774bbe6328f32005b518141e924ec75d /chrome/common | |
parent | d6dc5993ec32e9e79b539a1784daeddef54e0968 (diff) | |
download | chromium_src-8e69495160c6548aca20903b10b5c44f76958c21.zip chromium_src-8e69495160c6548aca20903b10b5c44f76958c21.tar.gz chromium_src-8e69495160c6548aca20903b10b5c44f76958c21.tar.bz2 |
Change the default number of proxy resolver threads used for evaluating PAC scripts from 1 to 4.
Also adds a command line flag to override the default: --num-pac-threads=X
BUG=11079
Review URL: http://codereview.chromium.org/2893005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52046 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/chrome_switches.cc | 4 | ||||
-rw-r--r-- | chrome/common/chrome_switches.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc index 365016b..6140243 100644 --- a/chrome/common/chrome_switches.cc +++ b/chrome/common/chrome_switches.cc @@ -632,6 +632,10 @@ const char kNoProxyServer[] = "no-proxy-server"; // Runs the renderer outside the sandbox. const char kNoSandbox[] = "no-sandbox"; +// Specifies the maximum number of threads to use for running the Proxy +// Autoconfig (PAC) script. +const char kNumPacThreads[] = "num-pac-threads"; + // Launch URL in new browser window. const char kOpenInNewWindow[] = "new-window"; diff --git a/chrome/common/chrome_switches.h b/chrome/common/chrome_switches.h index 71367dd..97eb92d 100644 --- a/chrome/common/chrome_switches.h +++ b/chrome/common/chrome_switches.h @@ -188,6 +188,7 @@ extern const char kNoJsRandomness[]; extern const char kNoProxyServer[]; extern const char kNoReferrers[]; extern const char kNoSandbox[]; +extern const char kNumPacThreads[]; extern const char kOpenInNewWindow[]; extern const char kPackExtension[]; extern const char kPackExtensionKey[]; |