Pass signin_scoped_device_id to DeviceInfoSpecifics.
commitc2baa092fcb370d3788ab6ae53079773706e7158
authorpavely@chromium.org <pavely@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 18 Jul 2014 22:46:57 +0000 (18 22:46 +0000)
committerpavely@chromium.org <pavely@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 18 Jul 2014 22:46:57 +0000 (18 22:46 +0000)
tree8b05b21ae49d6b90b36079e75a63be2a752f59b3
parent3a0170b839c80425cac8bf7bdacca8d54381c4a6
Pass signin_scoped_device_id to DeviceInfoSpecifics.

I'm adding signin_scoped_device_id to DeviceInfoSpecifics.
This value is available from SigninClient, the rest of code is to pass
value from syncBackendHostImpl where SigninClient is availble to
SyncedDeviceTracker where value is passed to protobuf.

Also there is small change to how commandline flag is handled.

BUG=382968
R=rlarocque@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284234 0039d316-1c4b-4281-b951-d872f2087c98
17 files changed:
chrome/browser/extensions/api/sessions/sessions_apitest.cc
chrome/browser/extensions/api/signed_in_devices/id_mapping_helper_unittest.cc
chrome/browser/extensions/api/signed_in_devices/signed_in_devices_api_unittest.cc
chrome/browser/sync/glue/device_info.cc
chrome/browser/sync/glue/device_info.h
chrome/browser/sync/glue/sync_backend_host_core.cc
chrome/browser/sync/glue/sync_backend_host_core.h
chrome/browser/sync/glue/sync_backend_host_impl.cc
chrome/browser/sync/glue/synced_device_tracker.cc
chrome/browser/sync/glue/synced_device_tracker.h
chrome/browser/sync/glue/synced_device_tracker_unittest.cc
chrome/browser/sync/profile_sync_service_factory.cc
chrome/browser/sync/sessions/sessions_sync_manager_unittest.cc
chrome/browser/ui/cocoa/wrench_menu/wrench_menu_controller_unittest.mm
chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc
sync/protocol/device_info_specifics.proto
sync/protocol/proto_value_conversions.cc