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

Unified Diff: chrome/browser/sync/glue/sync_backend_host.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: Response to review 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 | « no previous file | chrome/browser/sync/glue/sync_backend_host_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/glue/sync_backend_host.h
diff --git a/chrome/browser/sync/glue/sync_backend_host.h b/chrome/browser/sync/glue/sync_backend_host.h
index 1b660683c2d322b958c6f90b4fc97e013477f338..f65ffa1a1de2ddff4ffc4b1bc26b217087b1c60e 100644
--- a/chrome/browser/sync/glue/sync_backend_host.h
+++ b/chrome/browser/sync/glue/sync_backend_host.h
@@ -76,6 +76,9 @@ class SyncBackendHost : public sync_driver::BackendDataTypeConfigurer {
scoped_ptr<syncer::SyncEncryptionHandler::NigoriState>
saved_nigori_state) = 0;
+ // Called on the frontend's thread to trigger a refresh.
+ virtual void TriggerRefresh(const syncer::ModelTypeSet& types) = 0;
+
// Called on the frontend's thread to update SyncCredentials.
virtual void UpdateCredentials(
const syncer::SyncCredentials& credentials) = 0;
« no previous file with comments | « no previous file | chrome/browser/sync/glue/sync_backend_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698