| Index: chrome/browser/chrome_browser_main.cc
|
| diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc
|
| index d7021483ce58a773e48fe6be9f9b901337d8e2ec..3b3d177835b95388f10076f114df97031f028b24 100644
|
| --- a/chrome/browser/chrome_browser_main.cc
|
| +++ b/chrome/browser/chrome_browser_main.cc
|
| @@ -285,27 +285,6 @@ void InitializeNetworkOptions(const CommandLine& parsed_command_line) {
|
| }
|
| }
|
|
|
| -void InitializeURLRequestThrottlerManager(
|
| - const CommandLine& parsed_command_line,
|
| - net::NetLog* net_log) {
|
| - net::URLRequestThrottlerManager* manager =
|
| - net::URLRequestThrottlerManager::GetInstance();
|
| -
|
| - // Always done in production, disabled only for unit tests.
|
| - manager->set_enable_thread_checks(true);
|
| -
|
| - if (parsed_command_line.HasSwitch(
|
| - switches::kDisableExtensionsHttpThrottling)) {
|
| - manager->set_enforce_throttling(false);
|
| - }
|
| -
|
| - // TODO(joi): Passing the NetLog here is temporary; once I switch the
|
| - // URLRequestThrottlerManager to be part of the URLRequestContext it will
|
| - // come from there. Doing it this way for now (2011/5/12) to try to fail
|
| - // fast in case A/B experiment gives unexpected results.
|
| - manager->set_net_log(net_log);
|
| -}
|
| -
|
| // Returns the new local state object, guaranteed non-NULL.
|
| PrefService* InitializeLocalState(const CommandLine& parsed_command_line,
|
| bool is_first_run) {
|
| @@ -1344,8 +1323,6 @@ int ChromeBrowserMainParts::PreCreateThreadsImpl() {
|
| #endif
|
|
|
| InitializeNetworkOptions(parsed_command_line());
|
| - InitializeURLRequestThrottlerManager(parsed_command_line(),
|
| - browser_process_->net_log());
|
|
|
| // Initialize histogram synchronizer system. This is a singleton and is used
|
| // for posting tasks via base::Bind. Its deleted when it goes out of scope.
|
|
|