Index: chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings_factory.cc |
diff --git a/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings_factory.cc b/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings_factory.cc |
index 90f23841975f36e07aaa21c7eeed3ca4de02ddae..33fcb4237d046d911407576cf20846218dffa799 100644 |
--- a/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings_factory.cc |
+++ b/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings_factory.cc |
@@ -7,19 +7,8 @@ |
#include "base/bind.h" |
#include "base/memory/singleton.h" |
#include "chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.h" |
-#include "components/data_reduction_proxy/core/browser/data_reduction_proxy_usage_stats.h" |
-#include "components/data_reduction_proxy/core/common/data_reduction_proxy_params.h" |
#include "components/keyed_service/content/browser_context_dependency_manager.h" |
#include "components/keyed_service/content/browser_context_keyed_service_factory.h" |
-#include "content/public/browser/browser_thread.h" |
- |
-#if defined(OS_ANDROID) |
-#include "base/android/build_info.h" |
-#endif |
- |
-using content::BrowserThread; |
-using data_reduction_proxy::DataReductionProxyParams; |
-using data_reduction_proxy::DataReductionProxyUsageStats; |
// static |
DataReductionProxyChromeSettings* |
@@ -56,21 +45,5 @@ DataReductionProxyChromeSettingsFactory:: |
KeyedService* DataReductionProxyChromeSettingsFactory::BuildServiceInstanceFor( |
content::BrowserContext* context) const { |
- int flags = DataReductionProxyParams::kAllowed | |
- DataReductionProxyParams::kFallbackAllowed | |
- DataReductionProxyParams::kAlternativeAllowed; |
- if (DataReductionProxyParams::IsIncludedInPromoFieldTrial()) |
- flags |= DataReductionProxyParams::kPromoAllowed; |
- if (DataReductionProxyParams::IsIncludedInHoldbackFieldTrial()) |
- flags |= DataReductionProxyParams::kHoldback; |
-#if defined(OS_ANDROID) |
- if (DataReductionProxyParams::IsIncludedInAndroidOnePromoFieldTrial( |
bengr
2015/02/03 21:51:58
Where is this now?
jeremyim
2015/02/04 01:31:20
This now lives in CreateDataReductionProxyChromeIO
|
- base::android::BuildInfo::GetInstance()->android_build_fp())) { |
- flags |= DataReductionProxyParams::kPromoAllowed; |
- } |
-#endif |
- |
- return new DataReductionProxyChromeSettings( |
- scoped_ptr<DataReductionProxyParams>(new DataReductionProxyParams(flags)) |
- .Pass()); |
+ return new DataReductionProxyChromeSettings(); |
} |