Index: ios/public/test/test_keyed_service_provider.h |
diff --git a/ios/public/test/test_keyed_service_provider.h b/ios/public/test/test_keyed_service_provider.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b2867ec8194a7dda2b21161d7fa22e4e8202afef |
--- /dev/null |
+++ b/ios/public/test/test_keyed_service_provider.h |
@@ -0,0 +1,29 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef IOS_PUBLIC_TEST_TEST_KEYED_SERVICE_PROVIDER_H_ |
+#define IOS_PUBLIC_TEST_TEST_KEYED_SERVICE_PROVIDER_H_ |
+ |
+#include "base/macros.h" |
+#include "ios/public/provider/chrome/browser/keyed_service_provider.h" |
+ |
+namespace ios { |
+ |
+class TestKeyedServiceProvider : public KeyedServiceProvider { |
+ public: |
+ TestKeyedServiceProvider(); |
+ ~TestKeyedServiceProvider() override; |
+ |
+ // KeyedServiceProvider implementation: |
+ KeyedServiceBaseFactory* GetSyncServiceFactory() override; |
+ sync_driver::SyncService* GetSyncServiceForBrowserState( |
+ ChromeBrowserState* browser_state) override; |
+ |
+ private: |
+ DISALLOW_COPY_AND_ASSIGN(TestKeyedServiceProvider); |
+}; |
+ |
+} // namespace ios |
+ |
+#endif // IOS_PUBLIC_TEST_TEST_KEYED_SERVICE_PROVIDER_H_ |