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 a2861ef7f57ffe91a674f579d302189026d4af5f..bbdd8d4f05d92a9af20943e376579300c234da78 100644 |
--- a/chrome/browser/sync/glue/sync_backend_host.h |
+++ b/chrome/browser/sync/glue/sync_backend_host.h |
@@ -16,6 +16,7 @@ |
#include "sync/internal_api/public/base/model_type.h" |
#include "sync/internal_api/public/configure_reason.h" |
#include "sync/internal_api/public/sessions/sync_session_snapshot.h" |
+#include "sync/internal_api/public/sync_core_proxy.h" |
#include "sync/internal_api/public/sync_manager.h" |
#include "sync/internal_api/public/sync_manager_factory.h" |
#include "sync/internal_api/public/util/report_unrecoverable_error_function.h" |
@@ -128,6 +129,9 @@ class SyncBackendHost : public BackendDataTypeConfigurer { |
// InvalidationService. |
virtual void UnregisterInvalidationIds() = 0; |
+ // Specifies the set of user-preferred non-blocking data types. |
+ virtual void SetPreferredNonBlockingTypes(syncer::ModelTypeSet types) = 0; |
+ |
// Changes the set of data types that are currently being synced. |
// The ready_task will be run when configuration is done with the |
// set of all types that failed configuration (i.e., if its argument |
@@ -158,6 +162,10 @@ class SyncBackendHost : public BackendDataTypeConfigurer { |
// initialization is complete with OnBackendInitialized(). |
virtual syncer::UserShare* GetUserShare() const = 0; |
+ // Called on |frontend_loop_| to obtain a handle to the SyncCore needed by |
+ // the non-blocking sync types to communicate with the server. |
+ virtual syncer::SyncCoreProxy GetSyncCoreProxy() = 0; |
+ |
// Called from any thread to obtain current status information in detailed or |
// summarized form. |
virtual Status GetDetailedStatus() = 0; |