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

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

Issue 665703002: Activate data reduction proxy after profile initialization is complete. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix tests. Created 6 years, 2 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 "chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings_fact ory.h"
9
10 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
11 #include "base/memory/singleton.h" 9 #include "base/memory/singleton.h"
12 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_para ms.h" 10 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_para ms.h"
13 #include "components/keyed_service/content/browser_context_keyed_service_factory .h" 11 #include "components/keyed_service/content/browser_context_keyed_service_factory .h"
14 12
15 class DataReductionProxyChromeSettings; 13 class DataReductionProxyChromeSettings;
16 14
17 // Constucts a DataReductionProxySettings object suitable for use with a 15 // Constucts a DataReductionProxySettings object suitable for use with a
18 // Chrome browser. 16 // Chrome browser.
19 class DataReductionProxyChromeSettingsFactory 17 class DataReductionProxyChromeSettingsFactory
(...skipping 19 matching lines...) Expand all
39 virtual ~DataReductionProxyChromeSettingsFactory(); 37 virtual ~DataReductionProxyChromeSettingsFactory();
40 38
41 // BrowserContextKeyedServiceFactory: 39 // BrowserContextKeyedServiceFactory:
42 virtual KeyedService* BuildServiceInstanceFor( 40 virtual KeyedService* BuildServiceInstanceFor(
43 content::BrowserContext* context) const override; 41 content::BrowserContext* context) const override;
44 42
45 DISALLOW_COPY_AND_ASSIGN(DataReductionProxyChromeSettingsFactory); 43 DISALLOW_COPY_AND_ASSIGN(DataReductionProxyChromeSettingsFactory);
46 }; 44 };
47 45
48 #endif // CHROME_BROWSER_NET_SPDYPROXY_DATA_REDUCTION_PROXY_CHROME_SETTINGS_FAC TORY_H_ 46 #endif // CHROME_BROWSER_NET_SPDYPROXY_DATA_REDUCTION_PROXY_CHROME_SETTINGS_FAC TORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698