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

Unified Diff: sync/internal_api/public/sync_core_proxy.h

Issue 280983002: Implement sync in the NonBlockingTypeProcessor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add some comments Created 6 years, 7 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: sync/internal_api/public/sync_core_proxy.h
diff --git a/sync/internal_api/public/sync_core_proxy.h b/sync/internal_api/public/sync_core_proxy.h
index 98f481d2665c8a50479aad12ea218a8d3ec81d00..099b5f93a9b3e9c7c94e86c50872c535b12656bf 100644
--- a/sync/internal_api/public/sync_core_proxy.h
+++ b/sync/internal_api/public/sync_core_proxy.h
@@ -11,6 +11,7 @@
namespace syncer {
class NonBlockingTypeProcessor;
+struct DataTypeState;
// Interface for the datatype integration logic from non-sync threads.
//
@@ -25,6 +26,7 @@ class SYNC_EXPORT_PRIVATE SyncCoreProxy {
// Must be called from the thread where the data type lives.
virtual void ConnectTypeToCore(
syncer::ModelType type,
+ const DataTypeState& data_type_state,
base::WeakPtr<NonBlockingTypeProcessor> type_processor) = 0;
// Tells the syncer that we're no longer interested in syncing this type.

Powered by Google App Engine
This is Rietveld 408576698