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

Unified Diff: components/sync_driver/fake_sync_service.h

Issue 1175243009: [Sync] Rename SyncEnabledAndLoggedIn() to CanStartSync(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Missed a const transition. 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
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 0892f4a32b7cc2b095b23dfae78867960da59ef1..12fc011e64b83dc3f3ce3ae0c18800af64867a39 100644
--- a/components/sync_driver/fake_sync_service.h
+++ b/components/sync_driver/fake_sync_service.h
@@ -26,7 +26,7 @@ class FakeSyncService : public sync_driver::SyncService {
void RemoveObserver(sync_driver::SyncServiceObserver* observer) override;
bool HasObserver(
const sync_driver::SyncServiceObserver* observer) const override;
- bool IsSyncEnabledAndLoggedIn() override;
+ bool CanSyncStart() const override;
void DisableForUser() override;
void RequestStop() override;
void RequestStart() override;
« no previous file with comments | « components/autofill/core/browser/options_util_unittest.cc ('k') | components/sync_driver/fake_sync_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698