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

Unified Diff: chrome/browser/sync/glue/data_type_manager.h

Issue 10387144: [Sync] - Implement isolated model association. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: For submitting. Created 8 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: chrome/browser/sync/glue/data_type_manager.h
diff --git a/chrome/browser/sync/glue/data_type_manager.h b/chrome/browser/sync/glue/data_type_manager.h
index 691e5ce66158cc2897e29b458807c2aa2f018527..2bde4496b6c06bd2e6afd3923cc6b49e0ce177d5 100644
--- a/chrome/browser/sync/glue/data_type_manager.h
+++ b/chrome/browser/sync/glue/data_type_manager.h
@@ -59,11 +59,21 @@ class DataTypeManager {
TypeSet requested_types);
ConfigureResult(ConfigureStatus status,
TypeSet requested_types,
- const std::list<SyncError>& errors);
+ const std::list<SyncError>& failed_data_types,
+ syncable::ModelTypeSet waiting_to_start);
~ConfigureResult();
ConfigureStatus status;
TypeSet requested_types;
- std::list<SyncError> errors;
+
+ // These types encountered a failure in association.
+ std::list<SyncError> failed_data_types;
+
+ // List of types that failed to start association with in our alloted
+ // time period(see kDataTypeLoadWaitTimeInSeconds). We move
+ // forward here and allow these types to continue loading in the
+ // background. When these types are loaded DataTypeManager will
+ // be informed and another configured cycle will be started.
+ syncable::ModelTypeSet waiting_to_start;
};
virtual ~DataTypeManager() {}
« no previous file with comments | « chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc ('k') | chrome/browser/sync/glue/data_type_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698