| Index: chrome/browser/browser_main.cc
|
| ===================================================================
|
| --- chrome/browser/browser_main.cc (revision 69736)
|
| +++ chrome/browser/browser_main.cc (working copy)
|
| @@ -101,6 +101,7 @@
|
| #include "net/spdy/spdy_session.h"
|
| #include "net/spdy/spdy_session_pool.h"
|
| #include "net/url_request/url_request.h"
|
| +#include "net/url_request/url_request_throttler_manager.h"
|
|
|
| #if defined(USE_LINUX_BREAKPAD)
|
| #include "base/linux_util.h"
|
| @@ -587,6 +588,11 @@
|
| net::SpdySessionPool::set_max_sessions_per_domain(value);
|
| }
|
|
|
| + if (parsed_command_line.HasSwitch(switches::kDisableEnforcedThrottling)) {
|
| + net::URLRequestThrottlerManager::GetInstance()->
|
| + set_enforce_throttling(false);
|
| + }
|
| +
|
| SetDnsCertProvenanceCheckerFactory(CreateChromeDnsCertProvenanceChecker);
|
| }
|
|
|
|
|