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

Unified Diff: chrome/browser/sync/profile_sync_service_autofill_unittest.cc

Issue 6249006: Turn password sync on by default. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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/profile_sync_service_autofill_unittest.cc
===================================================================
--- chrome/browser/sync/profile_sync_service_autofill_unittest.cc (revision 71392)
+++ chrome/browser/sync/profile_sync_service_autofill_unittest.cc (working copy)
@@ -547,7 +547,7 @@
item.Put(SPECIFICS, entity_specifics);
item.Put(SERVER_SPECIFICS, entity_specifics);
item.Put(BASE_VERSION, 1);
- syncable::Id server_parent_id = ids_.NewServerId();
+ syncable::Id server_parent_id = service_->id_factory()->NewServerId();
item.Put(syncable::ID, server_parent_id);
syncable::Id new_predecessor =
SyncerUtil::ComputePrevIdFromServerPosition(&trans, &item,
@@ -600,7 +600,6 @@
scoped_ptr<WaitableEvent> *wait_for_syncapi_;
WaitableEvent is_finished_;
syncable::Id parent_id_;
- TestIdFactory ids_;
};
// TODO(skrul): Test abort startup.

Powered by Google App Engine
This is Rietveld 408576698