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

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

Issue 7655055: [Sync] Make BackendMigrator not wait for full sync cycles (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix race condition Created 9 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: chrome/browser/sync/glue/data_type_manager.cc
diff --git a/chrome/browser/sync/glue/data_type_manager.cc b/chrome/browser/sync/glue/data_type_manager.cc
index d71e0a2b954cd360acdfc324b6277acc8c48e904..a90a95d8b5b70e288a7b8fcd809c894d3e25247d 100644
--- a/chrome/browser/sync/glue/data_type_manager.cc
+++ b/chrome/browser/sync/glue/data_type_manager.cc
@@ -9,19 +9,23 @@ namespace browser_sync {
DataTypeManager::ConfigureResult::ConfigureResult() {}
DataTypeManager::ConfigureResult::ConfigureResult(ConfigureStatus status,
- TypeSet requested_types)
+ TypeSet requested_types,
+ TypeSet purged_types)
: status(status),
- requested_types(requested_types) {
+ requested_types(requested_types),
+ purged_types(purged_types) {
DCHECK_EQ(OK, status);
}
DataTypeManager::ConfigureResult::ConfigureResult(
ConfigureStatus status,
TypeSet requested_types,
+ TypeSet purged_types,
TypeSet failed_types,
const tracked_objects::Location& location)
: status(status),
requested_types(requested_types),
+ purged_types(purged_types),
failed_types(failed_types),
location(location) {
DCHECK_NE(OK, status);

Powered by Google App Engine
This is Rietveld 408576698