| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |