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

Side by Side Diff: ios/public/provider/chrome/browser/keyed_service_provider.h

Issue 1417173005: [iOS] More provider API for data reduction proxy settings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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
« no previous file with comments | « no previous file | ios/public/provider/chrome/browser/keyed_service_provider.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 IOS_PUBLIC_PROVIDER_CHROME_BROWSER_KEYED_SERVICE_PROVIDER_H_ 5 #ifndef IOS_PUBLIC_PROVIDER_CHROME_BROWSER_KEYED_SERVICE_PROVIDER_H_
6 #define IOS_PUBLIC_PROVIDER_CHROME_BROWSER_KEYED_SERVICE_PROVIDER_H_ 6 #define IOS_PUBLIC_PROVIDER_CHROME_BROWSER_KEYED_SERVICE_PROVIDER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 10
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 // Returns the invalidation::ProfileInvalidationProvider factory for 77 // Returns the invalidation::ProfileInvalidationProvider factory for
78 // dependencies. 78 // dependencies.
79 virtual KeyedServiceBaseFactory* GetProfileInvalidationProviderFactory() = 0; 79 virtual KeyedServiceBaseFactory* GetProfileInvalidationProviderFactory() = 0;
80 80
81 // Returns an instance of invalidation::ProfileInvalidationProvider tied to 81 // Returns an instance of invalidation::ProfileInvalidationProvider tied to
82 // |browser_state|. 82 // |browser_state|.
83 virtual invalidation::ProfileInvalidationProvider* 83 virtual invalidation::ProfileInvalidationProvider*
84 GetProfileInvalidationProviderForBrowserState( 84 GetProfileInvalidationProviderForBrowserState(
85 ChromeBrowserState* browser_state) = 0; 85 ChromeBrowserState* browser_state) = 0;
86 86
87 // Returns the data_reduction_proxy::DataReductionProxySettings factory for
88 // dependencies.
89 virtual KeyedServiceBaseFactory* GetDataReductionProxySettingsFactory() = 0;
90
87 // Returns an instance of data_reduction_proxy::DataReductionProxySettings 91 // Returns an instance of data_reduction_proxy::DataReductionProxySettings
88 // tied to |browser_state|. 92 // tied to |browser_state|.
89 virtual data_reduction_proxy::DataReductionProxySettings* 93 virtual data_reduction_proxy::DataReductionProxySettings*
90 GetDataReductionProxySettingsForBrowserState( 94 GetDataReductionProxySettingsForBrowserState(
91 ios::ChromeBrowserState* browser_state) = 0; 95 ios::ChromeBrowserState* browser_state) = 0;
92 96
93 private: 97 private:
94 DISALLOW_COPY_AND_ASSIGN(KeyedServiceProvider); 98 DISALLOW_COPY_AND_ASSIGN(KeyedServiceProvider);
95 }; 99 };
96 100
97 } // namespace ios 101 } // namespace ios
98 102
99 #endif // IOS_PUBLIC_PROVIDER_CHROME_BROWSER_KEYED_SERVICE_PROVIDER_H_ 103 #endif // IOS_PUBLIC_PROVIDER_CHROME_BROWSER_KEYED_SERVICE_PROVIDER_H_
OLDNEW
« no previous file with comments | « no previous file | ios/public/provider/chrome/browser/keyed_service_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698