diff options
author | joi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-24 16:14:20 +0000 |
---|---|---|
committer | joi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-24 16:14:20 +0000 |
commit | 386ef8cfc747ea354f9b9d38a2603e099afc3892 (patch) | |
tree | ad399df48fd4664cfacf5e00ef9490358bca7d73 /net/url_request | |
parent | 860f594adad88104987735b515344f7491b1e8ff (diff) | |
download | chromium_src-386ef8cfc747ea354f9b9d38a2603e099afc3892.zip chromium_src-386ef8cfc747ea354f9b9d38a2603e099afc3892.tar.gz chromium_src-386ef8cfc747ea354f9b9d38a2603e099afc3892.tar.bz2 |
Remove net-internals page for throttling, introduce flag for extension devs instead.
Change throttling error page to state it is extension-specific and point straight to http://dev.chromium.org/throttling instead of to the net-internals page.
BUG=119760
TEST=There should no longer be an "HTTP Throttling" tab under chrome://net-internals/. Throttling should be on by default for requests originated by extensions, but passing --disable-extensions-http-throttling should disable the behavior.
Review URL: http://codereview.chromium.org/10185003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133700 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/url_request')
-rw-r--r-- | net/url_request/url_request_throttler_manager.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/url_request/url_request_throttler_manager.cc b/net/url_request/url_request_throttler_manager.cc index e29f5c2..048cc32 100644 --- a/net/url_request/url_request_throttler_manager.cc +++ b/net/url_request/url_request_throttler_manager.cc @@ -149,10 +149,9 @@ void URLRequestThrottlerManager::OnOnlineStateChanged(bool online) { OnNetworkChange(); } -// TODO(joi): Turn throttling on by default when appropriate. URLRequestThrottlerManager::URLRequestThrottlerManager() : requests_since_last_gc_(0), - enforce_throttling_(false), + enforce_throttling_(true), enable_thread_checks_(false), logged_for_localhost_disabled_(false), registered_from_thread_(base::kInvalidThreadId) { |