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

Side by Side Diff: ios/public/test/test_keyed_service_provider.cc

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 | « ios/public/test/test_keyed_service_provider.h ('k') | no next file » | 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 #include "ios/public/test/test_keyed_service_provider.h" 5 #include "ios/public/test/test_keyed_service_provider.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/memory/singleton.h" 10 #include "base/memory/singleton.h"
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 TestKeyedServiceProvider::GetProfileInvalidationProviderFactory() { 100 TestKeyedServiceProvider::GetProfileInvalidationProviderFactory() {
101 return MissingServiceKeyedServiceFactory::GetInstance(); 101 return MissingServiceKeyedServiceFactory::GetInstance();
102 } 102 }
103 103
104 invalidation::ProfileInvalidationProvider* 104 invalidation::ProfileInvalidationProvider*
105 TestKeyedServiceProvider::GetProfileInvalidationProviderForBrowserState( 105 TestKeyedServiceProvider::GetProfileInvalidationProviderForBrowserState(
106 ios::ChromeBrowserState* browser_state) { 106 ios::ChromeBrowserState* browser_state) {
107 return nullptr; 107 return nullptr;
108 } 108 }
109 109
110 KeyedServiceBaseFactory*
111 TestKeyedServiceProvider::GetDataReductionProxySettingsFactory() {
112 return MissingServiceKeyedServiceFactory::GetInstance();
113 }
114
110 data_reduction_proxy::DataReductionProxySettings* 115 data_reduction_proxy::DataReductionProxySettings*
111 TestKeyedServiceProvider::GetDataReductionProxySettingsForBrowserState( 116 TestKeyedServiceProvider::GetDataReductionProxySettingsForBrowserState(
112 ios::ChromeBrowserState* browser_state) { 117 ios::ChromeBrowserState* browser_state) {
113 return nullptr; 118 return nullptr;
114 } 119 }
115 120
116 } // namespace ios 121 } // namespace ios
OLDNEW
« no previous file with comments | « ios/public/test/test_keyed_service_provider.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698