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

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

Issue 7918001: [Sync] Move ChangeRecord into its own file (change_record.{h,cc}) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments Created 9 years, 3 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/abstract_profile_sync_service_test.cc
diff --git a/chrome/browser/sync/abstract_profile_sync_service_test.cc b/chrome/browser/sync/abstract_profile_sync_service_test.cc
index f8ada2a38e8758b59797199aeb84ab037092319e..621b700b74ff7dc70bacfb5b37e6b0c1eafe0b11 100644
--- a/chrome/browser/sync/abstract_profile_sync_service_test.cc
+++ b/chrome/browser/sync/abstract_profile_sync_service_test.cc
@@ -69,6 +69,16 @@ bool ProfileSyncServiceTestHelper::CreateRoot(
return true;
}
+sync_api::ImmutableChangeRecordList
Nicolas Zea 2011/09/16 22:23:54 Comment that this is static.
akalin 2011/09/16 22:56:04 Done.
+ ProfileSyncServiceTestHelper::MakeSingletonChangeRecordList(
+ int64 node_id, sync_api::ChangeRecord::Action action) {
+ sync_api::ChangeRecord record;
+ record.action = action;
+ record.id = node_id;
+ sync_api::ChangeRecordList records(1, record);
+ return sync_api::ImmutableChangeRecordList(&records);
+}
+
AbstractProfileSyncServiceTest::AbstractProfileSyncServiceTest()
: ui_thread_(BrowserThread::UI, &ui_loop_),
db_thread_(BrowserThread::DB),
« no previous file with comments | « chrome/browser/sync/abstract_profile_sync_service_test.h ('k') | chrome/browser/sync/glue/autofill_change_processor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698