| 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..2c9de3e340043988917c7b741af2f536f28b49f2 100644
|
| --- a/chrome/browser/sync/abstract_profile_sync_service_test.cc
|
| +++ b/chrome/browser/sync/abstract_profile_sync_service_test.cc
|
| @@ -32,11 +32,13 @@ using syncable::UNIQUE_SERVER_TAG;
|
| using syncable::UNITTEST;
|
| using syncable::WriteTransaction;
|
|
|
| +/* static */
|
| const std::string ProfileSyncServiceTestHelper::GetTagForType(
|
| ModelType model_type) {
|
| return syncable::ModelTypeToRootTag(model_type);
|
| }
|
|
|
| +/* static */
|
| bool ProfileSyncServiceTestHelper::CreateRoot(
|
| ModelType model_type, UserShare* user_share,
|
| TestIdFactory* ids) {
|
| @@ -69,6 +71,17 @@ bool ProfileSyncServiceTestHelper::CreateRoot(
|
| return true;
|
| }
|
|
|
| +/* static */
|
| +sync_api::ImmutableChangeRecordList
|
| + 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),
|
|
|