summaryrefslogtreecommitdiffstats
path: root/chrome/common/chrome_switches.h
diff options
context:
space:
mode:
authormirandac@chromium.org <mirandac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-31 16:20:14 +0000
committermirandac@chromium.org <mirandac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-31 16:20:14 +0000
commitbcb84f8b62103f881ffcb50e8aed0e9bd1a2d821 (patch)
treec6cf85e5249bdd54dc57b463e1acca0db39fd0ac /chrome/common/chrome_switches.h
parentb65272fdbd41b9571cb12fdb63804761e405f0ce (diff)
downloadchromium_src-bcb84f8b62103f881ffcb50e8aed0e9bd1a2d821.zip
chromium_src-bcb84f8b62103f881ffcb50e8aed0e9bd1a2d821.tar.gz
chromium_src-bcb84f8b62103f881ffcb50e8aed0e9bd1a2d821.tar.bz2
Adding command-line option to override bans on certain port numbers through a comma-separated list of ports.
BUG= http://crbug.com/18307 TEST= url_request_unittest, use commandline flag allowed_ports=1,600. Navigate to http://www.google.com:1 or http://www.google.com:600. You should not get an ERR_UNSAFE_PORT, it will attempt to load the page. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24883 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/chrome_switches.h')
-rw-r--r--chrome/common/chrome_switches.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/common/chrome_switches.h b/chrome/common/chrome_switches.h
index debb490..714ede2 100644
--- a/chrome/common/chrome_switches.h
+++ b/chrome/common/chrome_switches.h
@@ -242,6 +242,8 @@ extern const wchar_t kCookiePipe[];
extern const wchar_t kEnableByteRangeSupport[];
+extern const wchar_t kExplicitlyAllowedPorts[];
+
} // namespace switches
#endif // CHROME_COMMON_CHROME_SWITCHES_H_