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

Unified Diff: components/sync_driver/sync_service.h

Issue 1418513005: [sync] Set up notification-free infra for triggering local sync refresh (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « components/sync_driver/fake_sync_service.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync_driver/sync_service.h
diff --git a/components/sync_driver/sync_service.h b/components/sync_driver/sync_service.h
index bdb75233691d4bdb60768bb9c120eadca813020d..c15c60ccd7c096bd0252fdd346f4b2d7206af8fb 100644
--- a/components/sync_driver/sync_service.h
+++ b/components/sync_driver/sync_service.h
@@ -103,6 +103,9 @@ class SyncService : public DataTypeEncryptionHandler {
// false.
virtual bool IsSyncActive() const = 0;
+ // Triggers refresh of sync state.
Nicolas Zea 2015/10/23 20:20:10 nit: prefer being more specific about what this do
blundell 2015/10/26 07:59:36 Done.
+ virtual void TriggerRefresh(const syncer::ModelTypeSet& types) = 0;
+
// Get the set of current active data types (those chosen or configured by
// the user which have not also encountered a runtime error).
// Note that if the Sync engine is in the middle of a configuration, this
« no previous file with comments | « components/sync_driver/fake_sync_service.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698