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

Unified Diff: chrome/browser/resources/net_internals/main.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/main.js
diff --git a/chrome/browser/resources/net_internals/main.js b/chrome/browser/resources/net_internals/main.js
index cffcc4ea8096b13ebddda839531ec77c3933c2da..9de08c9a518aabfa4200306cb21c67ea799d0077 100644
--- a/chrome/browser/resources/net_internals/main.js
+++ b/chrome/browser/resources/net_internals/main.js
@@ -393,8 +393,12 @@ BrowserBridge.prototype.setLogLevel = function(logLevel) {
};
BrowserBridge.prototype.enableHttpThrottling = function(enable) {
- chrome.send('enableHttpThrottling', [enable]);
-};
+ chrome.send('enableHttpThrottling', [enable]);
+};
+
+BrowserBridge.prototype.disableThrottlingExperiments = function() {
+ chrome.send('disableThrottlingExperiments');
+}
BrowserBridge.prototype.loadLogFile = function() {
chrome.send('loadLogFile');

Powered by Google App Engine
This is Rietveld 408576698