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

Unified Diff: sync/internal_api/sync_core_proxy_impl.h

Issue 280983002: Implement sync in the NonBlockingTypeProcessor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix gyp error and some tests 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
« no previous file with comments | « sync/internal_api/sync_core.cc ('k') | sync/internal_api/sync_core_proxy_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/internal_api/sync_core_proxy_impl.h
diff --git a/sync/internal_api/sync_core_proxy_impl.h b/sync/internal_api/sync_core_proxy_impl.h
index 3622d2b2f0d293980df6a602b71e7d4a54f2949f..91061fefaaabcfcfe44f1e46c3cbf39fb2d8ff11 100644
--- a/sync/internal_api/sync_core_proxy_impl.h
+++ b/sync/internal_api/sync_core_proxy_impl.h
@@ -16,6 +16,7 @@ namespace syncer {
class SyncCore;
class NonBlockingTypeProcessor;
+struct DataTypeState;
// Encapsulates a reference to the sync core and the thread it's running on.
// Used by sync's data types to connect with the sync core.
@@ -38,6 +39,7 @@ class SYNC_EXPORT_PRIVATE SyncCoreProxyImpl : public 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) OVERRIDE;
// Disables syncing for the given type on the sync thread.
« no previous file with comments | « sync/internal_api/sync_core.cc ('k') | sync/internal_api/sync_core_proxy_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698