summaryrefslogtreecommitdiffstats
path: root/chrome/common/chrome_switches.h
diff options
context:
space:
mode:
authorjar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-09 23:26:38 +0000
committerjar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-09 23:26:38 +0000
commit67ada37a725c3088a586300e643dc5d3153b3cf4 (patch)
tree8d60c520aace5ed6b83f9899b7904240979ae617 /chrome/common/chrome_switches.h
parent8bc2c1a0e3b60ead981d97c2857c8ca32556ece5 (diff)
downloadchromium_src-67ada37a725c3088a586300e643dc5d3153b3cf4.zip
chromium_src-67ada37a725c3088a586300e643dc5d3153b3cf4.tar.gz
chromium_src-67ada37a725c3088a586300e643dc5d3153b3cf4.tar.bz2
Avoid preconnect (and pre-resolution) when proxy MIGHT be present
This change detects if there is a chance that a proxy MIGHT be used to perform a connection, and if so, it avoids doing any speculative preconnections, or speculative DNS pre-resolution. For testing purposes, a flag is provided to avoid this probe for proxy status. If you enable --preconnect-despite-proxy then preconnection will take place (as appropriate) even if there is a chance that a proxy might be used for connections to some hosts. BUG=47906 r=eroman Review URL: http://codereview.chromium.org/2871038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52016 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/chrome_switches.h')
-rw-r--r--chrome/common/chrome_switches.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/common/chrome_switches.h b/chrome/common/chrome_switches.h
index 8430862..71367dd 100644
--- a/chrome/common/chrome_switches.h
+++ b/chrome/common/chrome_switches.h
@@ -198,6 +198,7 @@ extern const char kPluginLauncher[];
extern const char kPluginPath[];
extern const char kPluginProcess[];
extern const char kPluginStartupDialog[];
+extern const char kPreconnectDespiteProxy[];
extern const char kPrint[];
extern const char kProcessPerSite[];
extern const char kProcessPerTab[];