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

Issue 395013002: Pass signin_scoped_device_id to DeviceInfoSpecifics. (Closed)

Created:
6 years, 5 months ago by pavely
Modified:
6 years, 5 months ago
CC:
chromium-reviews, tim+watch_chromium.org, extensions-reviews_chromium.org, zea+watch_chromium.org, haitaol+watch_chromium.org, albertb+watch_chromium.org, chromium-apps-reviews_chromium.org, maniscalco+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

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 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284234 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284251

Patch Set 1 #

Total comments: 8

Patch Set 2 : Rebase. Fixes after Richard's feedback. #

Patch Set 3 : Fix browser_tests #

Patch Set 4 : Rebase #

Patch Set 5 : Fix mac tests #

Patch Set 6 : Rebase. Revers chrome_signin_client #

Unified diffs Side-by-side diffs Delta from patch set Stats (+203 lines, -113 lines) Patch
M chrome/browser/extensions/api/sessions/sessions_apitest.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/signed_in_devices/id_mapping_helper_unittest.cc View 1 2 chunks +19 lines, -10 lines 0 comments Download
M chrome/browser/extensions/api/signed_in_devices/signed_in_devices_api_unittest.cc View 4 chunks +34 lines, -23 lines 0 comments Download
M chrome/browser/sync/glue/device_info.h View 5 chunks +10 lines, -1 line 0 comments Download
M chrome/browser/sync/glue/device_info.cc View 6 chunks +27 lines, -18 lines 0 comments Download
M chrome/browser/sync/glue/sync_backend_host_core.h View 1 3 chunks +9 lines, -5 lines 0 comments Download
M chrome/browser/sync/glue/sync_backend_host_core.cc View 1 2 3 4 5 4 chunks +7 lines, -3 lines 0 comments Download
M chrome/browser/sync/glue/sync_backend_host_impl.cc View 1 2 3 4 5 3 chunks +10 lines, -1 line 0 comments Download
M chrome/browser/sync/glue/synced_device_tracker.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/sync/glue/synced_device_tracker.cc View 1 5 chunks +19 lines, -12 lines 0 comments Download
M chrome/browser/sync/glue/synced_device_tracker_unittest.cc View 1 6 chunks +48 lines, -32 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_factory.cc View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/sync/sessions/sessions_sync_manager_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/wrench_menu/wrench_menu_controller_unittest.mm View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc View 1 chunk +5 lines, -4 lines 0 comments Download
M sync/protocol/device_info_specifics.proto View 1 1 chunk +4 lines, -0 lines 0 comments Download
M sync/protocol/proto_value_conversions.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
pavely
Guys, could you review corresponding folders: yoz@ : chrome/browser/extensions/api/* tim@ : chrome/browser/signin/* sky@ : chrome/browser/ui/toolbar/* ...
6 years, 5 months ago (2014-07-16 00:24:46 UTC) #1
Yoyo Zhou
extensions/api LGTM
6 years, 5 months ago (2014-07-16 00:44:25 UTC) #2
rlarocque
https://codereview.chromium.org/395013002/diff/1/chrome/browser/extensions/api/signed_in_devices/id_mapping_helper_unittest.cc File chrome/browser/extensions/api/signed_in_devices/id_mapping_helper_unittest.cc (right): https://codereview.chromium.org/395013002/diff/1/chrome/browser/extensions/api/signed_in_devices/id_mapping_helper_unittest.cc#newcode39 chrome/browser/extensions/api/signed_in_devices/id_mapping_helper_unittest.cc:39: "device_id")); Not that it really matters, but would it ...
6 years, 5 months ago (2014-07-16 00:44:31 UTC) #3
sky
LGTM
6 years, 5 months ago (2014-07-16 14:47:32 UTC) #4
pavely
PTAL https://codereview.chromium.org/395013002/diff/1/chrome/browser/extensions/api/signed_in_devices/id_mapping_helper_unittest.cc File chrome/browser/extensions/api/signed_in_devices/id_mapping_helper_unittest.cc (right): https://codereview.chromium.org/395013002/diff/1/chrome/browser/extensions/api/signed_in_devices/id_mapping_helper_unittest.cc#newcode39 chrome/browser/extensions/api/signed_in_devices/id_mapping_helper_unittest.cc:39: "device_id")); On 2014/07/16 00:44:31, rlarocque wrote: > Not ...
6 years, 5 months ago (2014-07-16 21:35:59 UTC) #5
rlarocque
lgtm. https://codereview.chromium.org/395013002/diff/1/chrome/browser/sync/glue/sync_backend_host_impl.cc File chrome/browser/sync/glue/sync_backend_host_impl.cc (right): https://codereview.chromium.org/395013002/diff/1/chrome/browser/sync/glue/sync_backend_host_impl.cc#newcode140 chrome/browser/sync/glue/sync_backend_host_impl.cc:140: signin_client->GetSigninScopedDeviceId(); On 2014/07/16 21:35:59, pavely wrote: > profile_ ...
6 years, 5 months ago (2014-07-16 21:39:49 UTC) #6
pavely
The CQ bit was checked by pavely@chromium.org
6 years, 5 months ago (2014-07-18 20:15:28 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pavely@chromium.org/395013002/120001
6 years, 5 months ago (2014-07-18 20:17:12 UTC) #8
commit-bot: I haz the power
Change committed as 284234
6 years, 5 months ago (2014-07-18 22:47:08 UTC) #9
Vitaly Buka (NO REVIEWS)
The CQ bit was checked by vitalybuka@chromium.org
6 years, 5 months ago (2014-07-18 23:28:15 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pavely@chromium.org/395013002/120001
6 years, 5 months ago (2014-07-18 23:29:24 UTC) #11
commit-bot: I haz the power
6 years, 5 months ago (2014-07-18 23:38:12 UTC) #12
Message was sent while issue was closed.
Change committed as 284251

Powered by Google App Engine
This is Rietveld 408576698