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

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

Issue 272323002: sync: Implement disabling of non blocking types (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 5ec8efeef5fed39b32d3aac30e8e590c8af01fcf..3286141c75a969609cffb23e2c596c0b9306faea 100644
--- a/sync/internal_api/public/sync_core_proxy.h
+++ b/sync/internal_api/public/sync_core_proxy.h
@@ -27,6 +27,9 @@ class SYNC_EXPORT_PRIVATE SyncCoreProxy {
syncer::ModelType type,
base::WeakPtr<NonBlockingTypeProcessor> type_processor) = 0;
+ // Disables sync for the given non-blocking type on the sync core.
Nicolas Zea 2014/05/12 19:09:10 I find "Disables .. on the sync core" to be kind o
rlarocque 2014/05/12 20:02:13 Done.
+ virtual void Disconnect(syncer::ModelType type) = 0;
+
// Creates a clone of this SyncCoreProxy.
virtual scoped_ptr<SyncCoreProxy> Clone() const = 0;
};

Powered by Google App Engine
This is Rietveld 408576698