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

Unified Diff: chrome/browser/net/net_pref_observer.cc

Issue 9836043: Remove http_throttling.may_experiment pref. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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 | « no previous file | chrome/browser/ui/webui/net_internals/net_internals_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/net_pref_observer.cc
diff --git a/chrome/browser/net/net_pref_observer.cc b/chrome/browser/net/net_pref_observer.cc
index 65665535c6721331f52ae3375442358d3b04a7ce..e77a779de1e4b051930e78aecc2c92647e477828 100644
--- a/chrome/browser/net/net_pref_observer.cc
+++ b/chrome/browser/net/net_pref_observer.cc
@@ -86,17 +86,4 @@ void NetPrefObserver::RegisterPrefs(PrefService* prefs) {
prefs->RegisterBooleanPref(prefs::kHttpThrottlingEnabled,
true,
PrefService::UNSYNCABLE_PREF);
- // TODO(joi): This pref really means "user has not explicitly turned
- // anti-DDoS throttling on or off". Rename it soon (2011/8/26) or
- // remove it altogether (more likely).
- prefs->RegisterBooleanPref(prefs::kHttpThrottlingMayExperiment,
- true,
- PrefService::UNSYNCABLE_PREF);
-
- // For users who created their profile while throttling was off by
- // default, but have never explicitly turned it on or off, we turn
- // it on which is the new default.
- if (prefs->GetBoolean(prefs::kHttpThrottlingMayExperiment)) {
- prefs->SetBoolean(prefs::kHttpThrottlingEnabled, true);
- }
}
« no previous file with comments | « no previous file | chrome/browser/ui/webui/net_internals/net_internals_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698