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

Unified Diff: chrome/browser/sync/glue/sync_backend_host_core.h

Issue 217183003: Add non-blocking sync code to ProfileSyncService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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_core.h
diff --git a/chrome/browser/sync/glue/sync_backend_host_core.h b/chrome/browser/sync/glue/sync_backend_host_core.h
index d246255698d09a9e596a54c04b3599ddc9ee1b3c..286d7fcee4ad612d7340bc241a414acf8c79ea73 100644
--- a/chrome/browser/sync/glue/sync_backend_host_core.h
+++ b/chrome/browser/sync/glue/sync_backend_host_core.h
@@ -211,6 +211,10 @@ class SyncBackendHostCore
void SetForwardProtocolEvents(bool forward);
+ // Returns handle to sync functionality used by non-blocking sync types.
+ // Should only be called when the backend is initialized.
+ syncer::SyncCoreProxy GetSyncCoreProxy();
+
// Delete the sync data folder to cleanup backend data. Happens the first
// time sync is enabled for a user (to prevent accidentally reusing old
// sync databases), as well as shutdown when you're no longer syncing.

Powered by Google App Engine
This is Rietveld 408576698