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

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: 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: 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 d78de18b8500e6a38433df56d31ea275e3e663db..2ba4d5bdea735728344edd07d1475e4ebe1f5da8 100644
--- a/chrome/browser/sync/glue/sync_backend_host.h
+++ b/chrome/browser/sync/glue/sync_backend_host.h
@@ -77,6 +77,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') | components/sync_driver/sync_service.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698