| Index: chrome/browser/ui/webui/net_internals/net_internals_ui.cc
|
| diff --git a/chrome/browser/ui/webui/net_internals/net_internals_ui.cc b/chrome/browser/ui/webui/net_internals/net_internals_ui.cc
|
| index 326d5df51b374ed799832ba60fa8d84b9adcf0c0..1787dd84a65e6a290341a01c150cb3747a59a023 100644
|
| --- a/chrome/browser/ui/webui/net_internals/net_internals_ui.cc
|
| +++ b/chrome/browser/ui/webui/net_internals/net_internals_ui.cc
|
| @@ -251,11 +251,6 @@ class NetInternalsMessageHandler
|
| // be accessed on the UI thread.
|
| BooleanPrefMember http_throttling_enabled_;
|
|
|
| - // The pref member that determines whether experimentation on HTTP throttling
|
| - // is allowed (this becomes false once the user explicitly sets the
|
| - // feature to on or off).
|
| - BooleanPrefMember http_throttling_may_experiment_;
|
| -
|
| // This is the "real" message handler, which lives on the IO thread.
|
| scoped_refptr<IOThreadImpl> proxy_;
|
|
|
| @@ -429,8 +424,6 @@ void NetInternalsMessageHandler::RegisterMessages() {
|
| PrefService* pref_service = profile->GetPrefs();
|
| http_throttling_enabled_.Init(
|
| prefs::kHttpThrottlingEnabled, pref_service, this);
|
| - http_throttling_may_experiment_.Init(
|
| - prefs::kHttpThrottlingMayExperiment, pref_service, NULL);
|
|
|
| proxy_ = new IOThreadImpl(this->AsWeakPtr(), g_browser_process->io_thread(),
|
| profile->GetRequestContext());
|
| @@ -615,14 +608,6 @@ void NetInternalsMessageHandler::OnEnableHttpThrottling(const ListValue* list) {
|
| }
|
|
|
| http_throttling_enabled_.SetValue(enable);
|
| -
|
| - // We never receive OnEnableHttpThrottling unless the user has modified
|
| - // the value of the checkbox on the about:net-internals page. Once the
|
| - // user does that, we no longer change its value automatically (e.g.
|
| - // by changing the default or running an experiment).
|
| - if (http_throttling_may_experiment_.GetValue()) {
|
| - http_throttling_may_experiment_.SetValue(false);
|
| - }
|
| }
|
|
|
| void NetInternalsMessageHandler::OnClearBrowserCache(const ListValue* list) {
|
|
|