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

Unified Diff: net/url_request/url_request_throttler_manager.cc

Issue 7027040: Implement A/B experiment for anti-DDoS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to head. Extend trial cut-off date to July 23rd. Created 9 years, 6 months 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
« no previous file with comments | « net/url_request/url_request_throttler_entry.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_throttler_manager.cc
diff --git a/net/url_request/url_request_throttler_manager.cc b/net/url_request/url_request_throttler_manager.cc
index aaa03af50098c05565528028586cca7f972b6cb1..1bbad1f259627bf9057700db4b46128007350df5 100644
--- a/net/url_request/url_request_throttler_manager.cc
+++ b/net/url_request/url_request_throttler_manager.cc
@@ -89,9 +89,9 @@ void URLRequestThrottlerManager::AddToOptOutList(const std::string& host) {
// In practice, this would almost never occur.
if (opt_out_hosts_.find(host) == opt_out_hosts_.end()) {
UMA_HISTOGRAM_COUNTS("Throttling.SiteOptedOut", 1);
- if (base::FieldTrialList::TrialExists("ThrottlingEnabled")) {
+ if (base::FieldTrialList::TrialExists("HttpThrottlingEnabled")) {
UMA_HISTOGRAM_COUNTS(base::FieldTrial::MakeName(
- "Throttling.SiteOptedOut", "ThrottlingEnabled"), 1);
+ "Throttling.SiteOptedOut", "HttpThrottlingEnabled"), 1);
}
net_log_->EndEvent(
« no previous file with comments | « net/url_request/url_request_throttler_entry.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698