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

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

Issue 10690128: Reland r145993. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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/generic_change_processor.cc
diff --git a/chrome/browser/sync/glue/generic_change_processor.cc b/chrome/browser/sync/glue/generic_change_processor.cc
index 006db9029a92b24e10c9227dfe5651958e235863..6f8c7aaba61d63002a8d04fcea7c5cde59818235 100644
--- a/chrome/browser/sync/glue/generic_change_processor.cc
+++ b/chrome/browser/sync/glue/generic_change_processor.cc
@@ -49,6 +49,7 @@ void GenericChangeProcessor::ApplyChangesFromSyncModel(
if (it->action == syncer::ChangeRecord::ACTION_DELETE) {
syncer_changes_.push_back(
syncer::SyncChange(
+ FROM_HERE,
syncer::SyncChange::ACTION_DELETE,
syncer::SyncData::CreateRemoteData(it->id, it->specifics)));
} else {
@@ -65,9 +66,11 @@ void GenericChangeProcessor::ApplyChangesFromSyncModel(
return;
}
syncer_changes_.push_back(
- syncer::SyncChange(action,
- syncer::SyncData::CreateRemoteData(
- it->id, read_node.GetEntitySpecifics())));
+ syncer::SyncChange(
+ FROM_HERE,
+ action,
+ syncer::SyncData::CreateRemoteData(
+ it->id, read_node.GetEntitySpecifics())));
}
}
}

Powered by Google App Engine
This is Rietveld 408576698