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

Unified Diff: components/sync/driver/fake_sync_service.h

Issue 2910773003: [Sync] Replace manual DI with SetTestingFactory. (Closed)
Patch Set: Created 3 years, 7 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 | « components/sync/driver/DEPS ('k') | components/sync/driver/fake_sync_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/driver/fake_sync_service.h
diff --git a/components/sync/driver/fake_sync_service.h b/components/sync/driver/fake_sync_service.h
index 086953eec4289299f5847f5953d58b17d4832edf..095fbc1cba37db5264212ba5edf6c6f60402e09d 100644
--- a/components/sync/driver/fake_sync_service.h
+++ b/components/sync/driver/fake_sync_service.h
@@ -24,7 +24,7 @@ class FakeSyncService : public SyncService {
~FakeSyncService() override;
private:
- // SyncService:
+ // SyncService implementation.
bool IsFirstSetupComplete() const override;
bool IsSyncAllowed() const override;
bool IsSyncActive() const override;
@@ -85,10 +85,13 @@ class FakeSyncService : public SyncService {
callback) override;
SigninManagerBase* signin() const override;
- // DataTypeEncryptionHandler:
+ // DataTypeEncryptionHandler implementation.
bool IsPassphraseRequired() const override;
ModelTypeSet GetEncryptedDataTypes() const override;
+ // KeyedService implementation.
+ void Shutdown() override;
+
GoogleServiceAuthError error_;
GURL sync_service_url_;
std::string unrecoverable_error_message_;
« no previous file with comments | « components/sync/driver/DEPS ('k') | components/sync/driver/fake_sync_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698