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

Unified Diff: chrome/browser/webdata/autocomplete_syncable_service.cc

Issue 10698141: Revert 145993 - [Sync] Add location parameter to SyncChange in Sync API. (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/webdata/autocomplete_syncable_service.cc
===================================================================
--- chrome/browser/webdata/autocomplete_syncable_service.cc (revision 145994)
+++ chrome/browser/webdata/autocomplete_syncable_service.cc (working copy)
@@ -157,9 +157,8 @@
for (AutocompleteEntryMap::iterator i = new_db_entries.begin();
i != new_db_entries.end(); ++i) {
new_changes.push_back(
- syncer::SyncChange(FROM_HERE,
- i->second.first,
- CreateSyncData(*(i->second.second))));
+ syncer::SyncChange(
+ i->second.first, CreateSyncData(*(i->second.second))));
}
if (ShouldCullSyncedData()) {
@@ -416,18 +415,16 @@
(change->type() == AutofillChange::ADD) ?
syncer::SyncChange::ACTION_ADD :
syncer::SyncChange::ACTION_UPDATE;
- new_changes.push_back(syncer::SyncChange(FROM_HERE,
- change_type,
- CreateSyncData(entry)));
+ new_changes.push_back(syncer::SyncChange(change_type,
+ CreateSyncData(entry)));
break;
}
case AutofillChange::REMOVE: {
std::vector<base::Time> timestamps;
AutofillEntry entry(change->key(), timestamps);
new_changes.push_back(
- syncer::SyncChange(FROM_HERE,
- syncer::SyncChange::ACTION_DELETE,
- CreateSyncData(entry)));
+ syncer::SyncChange(syncer::SyncChange::ACTION_DELETE,
+ CreateSyncData(entry)));
break;
}
default:
« no previous file with comments | « chrome/browser/sync/glue/generic_change_processor.cc ('k') | chrome/browser/webdata/autofill_profile_syncable_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698