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

Side by Side Diff: chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings_factory.h

Issue 893003002: Data Reduction Proxy class ownership updates and Settings cleanup (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sgurun CR comments Created 5 years, 10 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 unified diff | Download patch
OLDNEW
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/memory/singleton.h" 9 #include "base/memory/singleton.h"
10 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_param s.h"
11 #include "components/keyed_service/content/browser_context_keyed_service_factory .h" 10 #include "components/keyed_service/content/browser_context_keyed_service_factory .h"
12 11
13 class DataReductionProxyChromeSettings; 12 class DataReductionProxyChromeSettings;
14 13
15 // Constucts a DataReductionProxySettings object suitable for use with a 14 // Constucts a DataReductionProxySettings object suitable for use with a
16 // Chrome browser. 15 // Chrome browser.
17 class DataReductionProxyChromeSettingsFactory 16 class DataReductionProxyChromeSettingsFactory
18 : public BrowserContextKeyedServiceFactory { 17 : public BrowserContextKeyedServiceFactory {
19 public: 18 public:
20 19
(...skipping 16 matching lines...) Expand all
37 ~DataReductionProxyChromeSettingsFactory() override; 36 ~DataReductionProxyChromeSettingsFactory() override;
38 37
39 // BrowserContextKeyedServiceFactory: 38 // BrowserContextKeyedServiceFactory:
40 KeyedService* BuildServiceInstanceFor( 39 KeyedService* BuildServiceInstanceFor(
41 content::BrowserContext* context) const override; 40 content::BrowserContext* context) const override;
42 41
43 DISALLOW_COPY_AND_ASSIGN(DataReductionProxyChromeSettingsFactory); 42 DISALLOW_COPY_AND_ASSIGN(DataReductionProxyChromeSettingsFactory);
44 }; 43 };
45 44
46 #endif // CHROME_BROWSER_NET_SPDYPROXY_DATA_REDUCTION_PROXY_CHROME_SETTINGS_FAC TORY_H_ 45 #endif // CHROME_BROWSER_NET_SPDYPROXY_DATA_REDUCTION_PROXY_CHROME_SETTINGS_FAC TORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698