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

Unified Diff: trunk/src/chrome/browser/net/spdyproxy/data_reduction_proxy_settings_factory_android.h

Issue 307013003: Revert 273810 "Added alternative configuration for the data redu..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 7 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: trunk/src/chrome/browser/net/spdyproxy/data_reduction_proxy_settings_factory_android.h
===================================================================
--- trunk/src/chrome/browser/net/spdyproxy/data_reduction_proxy_settings_factory_android.h (revision 273823)
+++ trunk/src/chrome/browser/net/spdyproxy/data_reduction_proxy_settings_factory_android.h (working copy)
@@ -1,47 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_NET_SPDYPROXY_DATA_REDUCTION_PROXY_SETTINGS_FACTORY_ANDROID_H_
-#define CHROME_BROWSER_NET_SPDYPROXY_DATA_REDUCTION_PROXY_SETTINGS_FACTORY_ANDROID_H_
-
-#include "base/compiler_specific.h"
-#include "base/memory/singleton.h"
-#include "components/data_reduction_proxy/browser/data_reduction_proxy_params.h"
-#include "components/keyed_service/content/browser_context_keyed_service_factory.h"
-
-namespace content {
-class BrowserContext;
-}
-
-using data_reduction_proxy::DataReductionProxyParams;
-
-class DataReductionProxySettingsAndroid;
-
-// BrowserContextKeyedServiceFactory for generating/retrieving
-// DataReductionProxyService instances.
-class DataReductionProxySettingsFactoryAndroid
- : public BrowserContextKeyedServiceFactory {
- public:
- static DataReductionProxySettingsAndroid* GetForBrowserContext(
- content::BrowserContext* context);
-
- static bool HasDataReductionProxySettingsAndroid(
- content::BrowserContext* context);
-
- static DataReductionProxySettingsFactoryAndroid* GetInstance();
-
- private:
- friend struct DefaultSingletonTraits<
- DataReductionProxySettingsFactoryAndroid>;
-
- DataReductionProxySettingsFactoryAndroid();
-
- virtual ~DataReductionProxySettingsFactoryAndroid();
-
- // BrowserContextKeyedServiceFactory:
- virtual KeyedService* BuildServiceInstanceFor(
- content::BrowserContext* context) const OVERRIDE;
-};
-
-#endif // CHROME_BROWSER_NET_SPDYPROXY_DATA_REDUCTION_PROXY_SETTINGS_FACTORY_ANDROID_H_

Powered by Google App Engine
This is Rietveld 408576698