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

Unified Diff: chrome/browser/resources/net_internals/httpthrottlingview.js

Issue 7027040: Implement A/B experiment for anti-DDoS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: chrome/browser/resources/net_internals/httpthrottlingview.js
diff --git a/chrome/browser/resources/net_internals/httpthrottlingview.js b/chrome/browser/resources/net_internals/httpthrottlingview.js
index 4cc83051058e716e7430e83508b77b32bb3278b5..067a1c23ce0e1c6c216fcbd4b1b7ac359207c4a5 100644
--- a/chrome/browser/resources/net_internals/httpthrottlingview.js
+++ b/chrome/browser/resources/net_internals/httpthrottlingview.js
@@ -28,7 +28,8 @@ HttpThrottlingView.prototype.onHttpThrottlingEnabledPrefChanged = function(
/**
* Handler for the onclick event of the checkbox.
- */
-HttpThrottlingView.prototype.onEnableCheckboxClicked_ = function() {
- g_browser.enableHttpThrottling(this.enableCheckbox_.checked);
-};
+ */
+HttpThrottlingView.prototype.onEnableCheckboxClicked_ = function() {
+ g_browser.enableHttpThrottling(this.enableCheckbox_.checked);
+ g_browser.disableThrottlingExperiments();
+};

Powered by Google App Engine
This is Rietveld 408576698