summaryrefslogtreecommitdiffstats
path: root/chrome/common/chrome_switches.h
diff options
context:
space:
mode:
authoryzshen@google.com <yzshen@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-23 02:09:39 +0000
committeryzshen@google.com <yzshen@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-23 02:09:39 +0000
commit05fd9e3071321bc2dec75296dff0cc4dbdef7128 (patch)
tree017c2b6114fa75c48faf9ce9cc7847386faa0d33 /chrome/common/chrome_switches.h
parent9edc6b2c8f0e0992c2f17eb5434d7c3044baff19 (diff)
downloadchromium_src-05fd9e3071321bc2dec75296dff0cc4dbdef7128.zip
chromium_src-05fd9e3071321bc2dec75296dff0cc4dbdef7128.tar.gz
chromium_src-05fd9e3071321bc2dec75296dff0cc4dbdef7128.tar.bz2
Give user the ability to disable the URL request throttler:
- Support the command line switch --disable-enforced-throttling. With this switch specified, the URL request throttler won't reject outgoing requests during the back-off peroid. Please note that in this case we still keep track of the back-off period, since we need it to determine retry intervals. - Add a more detailed error page description for net::ERR_TEMPORARILY_THROTTLED. BUG=66062 TEST=Without --disable-enforced-throttling switch: (1) Type in the addresss bar a URL which is expected to return 5XX. (2) Keep clicking the "reload" button. (3) After a few clicks, Chrome displays an error page explaining why a net::ERR_TEMPORARILY_THROTTLED error occurs. With --disable-enforced-throttling switch: Following step (1) and (2) described above won't result in a net::ERR_TEMPORARILY_THROTTLED error page. Review URL: http://codereview.chromium.org/5961008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70022 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 001e963..1270ac4 100644
--- a/chrome/common/chrome_switches.h
+++ b/chrome/common/chrome_switches.h
@@ -67,6 +67,7 @@ extern const char kDisableDatabases[];
extern const char kDisableDesktopNotifications[];
extern const char kDisableDevTools[];
extern const char kDisableDeviceOrientation[];
+extern const char kDisableEnforcedThrottling[];
extern const char kDisableExperimentalWebGL[];
extern const char kDisableExtensionsFileAccessCheck[];
extern const char kDisableExtensions[];