Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1801)

Unified Diff: net/base/run_all_unittests.cc

Issue 4194001: Implement exponential back-off mechanism and enforce it at the URLRequestHttpJob level. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/base/run_all_unittests.cc
===================================================================
--- net/base/run_all_unittests.cc (revision 64189)
+++ net/base/run_all_unittests.cc (working copy)
@@ -6,6 +6,7 @@
#include "base/metrics/histogram.h"
#include "base/nss_util.h"
#include "net/base/net_test_suite.h"
+#include "net/request_throttler/request_throttler_manager.h"
#if defined(OS_WIN)
#include "net/socket/ssl_client_socket_nss_factory.h"
#endif
@@ -24,5 +25,7 @@
base::EnsureNSPRInit();
#endif
+ Singleton<RequestThrottlerManager>::get()->DisableThrottlingByDefault();
joi 2010/11/09 20:07:17 I'm a bit wary of this. Since we're trying to make
yzshen 2010/11/09 22:32:22 Yes, tests that deal with HTTP failures are a smal
+
return test_suite.Run();
}

Powered by Google App Engine
This is Rietveld 408576698