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

Unified Diff: chrome/browser/webdata/autofill_profile_syncable_service_unittest.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
« no previous file with comments | « chrome/browser/webdata/autofill_profile_syncable_service.cc ('k') | sync/api/sync_change.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/webdata/autofill_profile_syncable_service_unittest.cc
===================================================================
--- chrome/browser/webdata/autofill_profile_syncable_service_unittest.cc (revision 145994)
+++ chrome/browser/webdata/autofill_profile_syncable_service_unittest.cc (working copy)
@@ -145,10 +145,9 @@
syncer::SyncChangeList expected_change_list;
expected_change_list.push_back(
- syncer::SyncChange(FROM_HERE,
- syncer::SyncChange::ACTION_ADD,
- AutofillProfileSyncableService::CreateData(
- (*profiles_from_web_db.front()))));
+ syncer::SyncChange(syncer::SyncChange::ACTION_ADD,
+ AutofillProfileSyncableService::CreateData(
+ (*profiles_from_web_db.front()))));
AutofillProfileSyncableService::DataBundle expected_bundle;
expected_bundle.profiles_to_add.push_back(&profile1);
@@ -228,15 +227,12 @@
AutofillProfile profile(guid_synced);
profile.SetInfo(NAME_FIRST, UTF8ToUTF16("Jane"));
change_list.push_back(
- syncer::SyncChange(FROM_HERE,
- syncer::SyncChange::ACTION_ADD,
- AutofillProfileSyncableService::CreateData(profile)));
+ syncer::SyncChange(syncer::SyncChange::ACTION_ADD,
+ AutofillProfileSyncableService::CreateData(profile)));
AutofillProfile empty_profile(guid_present);
change_list.push_back(
- syncer::SyncChange(
- FROM_HERE,
- syncer::SyncChange::ACTION_DELETE,
- AutofillProfileSyncableService::CreateData(empty_profile)));
+ syncer::SyncChange(syncer::SyncChange::ACTION_DELETE,
+ AutofillProfileSyncableService::CreateData(empty_profile)));
AutofillProfileSyncableService::DataBundle expected_bundle;
expected_bundle.profiles_to_delete.push_back(guid_present);
« no previous file with comments | « chrome/browser/webdata/autofill_profile_syncable_service.cc ('k') | sync/api/sync_change.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698