| 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 #ifndef IOS_PUBLIC_TEST_TEST_KEYED_SERVICE_PROVIDER_H_ | 5 #ifndef IOS_PUBLIC_TEST_TEST_KEYED_SERVICE_PROVIDER_H_ |
| 6 #define IOS_PUBLIC_TEST_TEST_KEYED_SERVICE_PROVIDER_H_ | 6 #define IOS_PUBLIC_TEST_TEST_KEYED_SERVICE_PROVIDER_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "ios/public/provider/chrome/browser/keyed_service_provider.h" | 9 #include "ios/public/provider/chrome/browser/keyed_service_provider.h" |
| 10 | 10 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 #endif | 23 #endif |
| 24 KeyedServiceBaseFactory* GetSyncServiceFactory() override; | 24 KeyedServiceBaseFactory* GetSyncServiceFactory() override; |
| 25 sync_driver::SyncService* GetSyncServiceForBrowserState( | 25 sync_driver::SyncService* GetSyncServiceForBrowserState( |
| 26 ChromeBrowserState* browser_state) override; | 26 ChromeBrowserState* browser_state) override; |
| 27 sync_driver::SyncService* GetSyncServiceForBrowserStateIfExists( | 27 sync_driver::SyncService* GetSyncServiceForBrowserStateIfExists( |
| 28 ChromeBrowserState* browser_state) override; | 28 ChromeBrowserState* browser_state) override; |
| 29 KeyedServiceBaseFactory* GetProfileInvalidationProviderFactory() override; | 29 KeyedServiceBaseFactory* GetProfileInvalidationProviderFactory() override; |
| 30 invalidation::ProfileInvalidationProvider* | 30 invalidation::ProfileInvalidationProvider* |
| 31 GetProfileInvalidationProviderForBrowserState( | 31 GetProfileInvalidationProviderForBrowserState( |
| 32 ios::ChromeBrowserState* browser_state) override; | 32 ios::ChromeBrowserState* browser_state) override; |
| 33 KeyedServiceBaseFactory* GetDataReductionProxySettingsFactory() override; |
| 33 data_reduction_proxy::DataReductionProxySettings* | 34 data_reduction_proxy::DataReductionProxySettings* |
| 34 GetDataReductionProxySettingsForBrowserState( | 35 GetDataReductionProxySettingsForBrowserState( |
| 35 ios::ChromeBrowserState* browser_state) override; | 36 ios::ChromeBrowserState* browser_state) override; |
| 36 | 37 |
| 37 private: | 38 private: |
| 38 DISALLOW_COPY_AND_ASSIGN(TestKeyedServiceProvider); | 39 DISALLOW_COPY_AND_ASSIGN(TestKeyedServiceProvider); |
| 39 }; | 40 }; |
| 40 | 41 |
| 41 } // namespace ios | 42 } // namespace ios |
| 42 | 43 |
| 43 #endif // IOS_PUBLIC_TEST_TEST_KEYED_SERVICE_PROVIDER_H_ | 44 #endif // IOS_PUBLIC_TEST_TEST_KEYED_SERVICE_PROVIDER_H_ |
| OLD | NEW |