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

Unified Diff: components/sync_driver/data_type_manager.h

Issue 439903002: [Sync] Move reenable logic into DTM (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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: components/sync_driver/data_type_manager.h
diff --git a/components/sync_driver/data_type_manager.h b/components/sync_driver/data_type_manager.h
index 6ea5254c5beae7c1ef5ab072937ff480190cf315..e4657b697c97a591547f4354662361fbca77d5dc 100644
--- a/components/sync_driver/data_type_manager.h
+++ b/components/sync_driver/data_type_manager.h
@@ -74,6 +74,10 @@ class DataTypeManager {
virtual void Configure(syncer::ModelTypeSet desired_types,
syncer::ConfigureReason reason) = 0;
+ // Resets the error state for |type| and triggers a reconfiguration if
+ // necessary.
+ virtual void ReenableType(syncer::ModelType type) = 0;
+
virtual void PurgeForMigration(syncer::ModelTypeSet undesired_types,
syncer::ConfigureReason reason) = 0;

Powered by Google App Engine
This is Rietveld 408576698