| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_NET_SPDYPROXY_DATA_REDUCTION_PROXY_CHROME_SETTINGS_FACTOR
Y_H_ | 5 #ifndef CHROME_BROWSER_NET_SPDYPROXY_DATA_REDUCTION_PROXY_CHROME_SETTINGS_FACTOR
Y_H_ |
| 6 #define CHROME_BROWSER_NET_SPDYPROXY_DATA_REDUCTION_PROXY_CHROME_SETTINGS_FACTOR
Y_H_ | 6 #define CHROME_BROWSER_NET_SPDYPROXY_DATA_REDUCTION_PROXY_CHROME_SETTINGS_FACTOR
Y_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" |
| 9 #include "base/memory/singleton.h" | 10 #include "base/memory/singleton.h" |
| 10 #include "components/keyed_service/content/browser_context_keyed_service_factory
.h" | 11 #include "components/keyed_service/content/browser_context_keyed_service_factory
.h" |
| 11 | 12 |
| 12 class DataReductionProxyChromeSettings; | 13 class DataReductionProxyChromeSettings; |
| 13 | 14 |
| 14 // Constucts a DataReductionProxySettings object suitable for use with a | 15 // Constucts a DataReductionProxySettings object suitable for use with a |
| 15 // Chrome browser. | 16 // Chrome browser. |
| 16 class DataReductionProxyChromeSettingsFactory | 17 class DataReductionProxyChromeSettingsFactory |
| 17 : public BrowserContextKeyedServiceFactory { | 18 : public BrowserContextKeyedServiceFactory { |
| 18 public: | 19 public: |
| (...skipping 18 matching lines...) Expand all Loading... |
| 37 ~DataReductionProxyChromeSettingsFactory() override; | 38 ~DataReductionProxyChromeSettingsFactory() override; |
| 38 | 39 |
| 39 // BrowserContextKeyedServiceFactory: | 40 // BrowserContextKeyedServiceFactory: |
| 40 KeyedService* BuildServiceInstanceFor( | 41 KeyedService* BuildServiceInstanceFor( |
| 41 content::BrowserContext* context) const override; | 42 content::BrowserContext* context) const override; |
| 42 | 43 |
| 43 DISALLOW_COPY_AND_ASSIGN(DataReductionProxyChromeSettingsFactory); | 44 DISALLOW_COPY_AND_ASSIGN(DataReductionProxyChromeSettingsFactory); |
| 44 }; | 45 }; |
| 45 | 46 |
| 46 #endif // CHROME_BROWSER_NET_SPDYPROXY_DATA_REDUCTION_PROXY_CHROME_SETTINGS_FAC
TORY_H_ | 47 #endif // CHROME_BROWSER_NET_SPDYPROXY_DATA_REDUCTION_PROXY_CHROME_SETTINGS_FAC
TORY_H_ |
| OLD | NEW |