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

Unified Diff: ios/public/test/test_chrome_browser_provider.h

Issue 1158223003: [iOS] Add FakeSyncService and factory for testing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comments Created 5 years, 6 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ios/public/test/fake_sync_service_factory.cc ('k') | ios/public/test/test_chrome_browser_provider.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/public/test/test_chrome_browser_provider.h
diff --git a/ios/public/test/test_chrome_browser_provider.h b/ios/public/test/test_chrome_browser_provider.h
index 698fa65fccae82fdb2d13fb245e2a93d26a1c89c..8ab210aa80b05ee34ce24c6afb530474defb9362 100644
--- a/ios/public/test/test_chrome_browser_provider.h
+++ b/ios/public/test/test_chrome_browser_provider.h
@@ -24,9 +24,11 @@ class TestChromeBrowserProvider : public ChromeBrowserProvider {
// ChromeBrowserProvider:
StringProvider* GetStringProvider() override;
const char* GetChromeUIScheme() override;
+ KeyedServiceProvider* GetKeyedServiceProvider() override;
private:
scoped_ptr<FakeStringProvider> string_provider_;
+ scoped_ptr<KeyedServiceProvider> test_keyed_service_provider_;
DISALLOW_COPY_AND_ASSIGN(TestChromeBrowserProvider);
};
« no previous file with comments | « ios/public/test/fake_sync_service_factory.cc ('k') | ios/public/test/test_chrome_browser_provider.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698