Replace deprecated 3-arg SyncData::CreateLocalData with 5-arg version.
commit8e064aff685d0c7ac7a1f84acf7e04a81e0d2e08
authormaniscalco@chromium.org <maniscalco@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 10 Apr 2014 23:40:09 +0000 (10 23:40 +0000)
committermaniscalco@chromium.org <maniscalco@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 10 Apr 2014 23:40:09 +0000 (10 23:40 +0000)
tree6dd7bc806e703598cb04c0bcf3d7db0627674f65
parentd7ea0c8cc1be6a230c43f478abd249c7b594e328
Replace deprecated 3-arg SyncData::CreateLocalData with 5-arg version.

Update unit tests that call SyncData::CreateLocalData to call the new
version.

Add AttachmentServiceProxyForTest to reduce boilerplate in tests.

Add a MessageLoop to ManagedUserSyncServiceTest, DomDistillerStoreTest,
and SyncChangeTest because AttachmentServiceProxyForTest needs one.

Format modified lines with clang-format.

TBR=pam,droger,asargent,pkasting,pkotwicz,cjhopman

BUG=353296

Review URL: https://codereview.chromium.org/213003004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263128 0039d316-1c4b-4281-b951-d872f2087c98
20 files changed:
chrome/browser/extensions/api/sessions/sessions_apitest.cc
chrome/browser/history/history_unittest.cc
chrome/browser/managed_mode/managed_user_registration_utility_unittest.cc
chrome/browser/managed_mode/managed_user_sync_service_unittest.cc
chrome/browser/prefs/synced_pref_change_registrar_browsertest.cc
chrome/browser/sync/glue/favicon_cache_unittest.cc
chrome/browser/sync/glue/generic_change_processor.cc
chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc
chrome/browser/themes/theme_syncable_service_unittest.cc
chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.cc
components/dom_distiller/core/dom_distiller_store_unittest.cc
sync/api/attachments/attachment_service_proxy.cc
sync/api/attachments/attachment_service_proxy.h
sync/api/attachments/attachment_service_proxy_for_test.cc [new file with mode: 0644]
sync/api/attachments/attachment_service_proxy_for_test.h [new file with mode: 0644]
sync/api/sync_change_unittest.cc
sync/api/sync_data.cc
sync/api/sync_data.h
sync/api/sync_data_unittest.cc
sync/sync_api.gypi