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

Unified Diff: components/sync_driver/fake_sync_client.h

Issue 1422773004: [sync] Abstract most ProfileSyncService //chrome deps (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pss_chrome_signin_deps
Patch Set: Fix deps Created 5 years, 2 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
Index: components/sync_driver/fake_sync_client.h
diff --git a/components/sync_driver/fake_sync_client.h b/components/sync_driver/fake_sync_client.h
index 79113a4eed2f41e4132135c31aab7e673d10c28e..44984ddf13ec831101d0e4e907234dee564192ca 100644
--- a/components/sync_driver/fake_sync_client.h
+++ b/components/sync_driver/fake_sync_client.h
@@ -30,6 +30,7 @@ class FakeSyncClient : public SyncClient {
autofill::PersonalDataManager* GetPersonalDataManager() override;
scoped_refptr<autofill::AutofillWebDataService> GetWebDataService() override;
BookmarkUndoService* GetBookmarkUndoServiceIfExists() override;
+ invalidation::InvalidationService* GetInvalidationService() override;
scoped_refptr<syncer::ExtensionsActivity> GetExtensionsActivity() override;
sync_sessions::SyncSessionsClient* GetSyncSessionsClient() override;
base::WeakPtr<syncer::SyncableService> GetSyncableServiceForType(
@@ -38,6 +39,13 @@ class FakeSyncClient : public SyncClient {
syncer::ModelSafeGroup group,
syncer::WorkerLoopDestructionObserver* observer) override;
SyncApiComponentFactory* GetSyncApiComponentFactory() override;
+ base::FilePath GetBaseDirectory() override;
+ net::URLRequestContextGetter* GetURLRequestContext() override;
+ std::string GetDebugIdentifier() override;
+ version_info::Channel GetChannel() override;
+ scoped_refptr<base::SingleThreadTaskRunner> GetDBThread() override;
+ scoped_refptr<base::SingleThreadTaskRunner> GetFileThread() override;
+ base::SequencedWorkerPool* GetBlockingPool() override;
private:
SyncApiComponentFactory* factory_;

Powered by Google App Engine
This is Rietveld 408576698