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

Issue 362613002: Implementation of SigninClient::GetSigninScopedDeviceId (Closed)

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

Description

Implementation of SigninClient::GetSigninScopedDeviceId This code stores device id in prefs. Device id needs to be cleared when user signs out and, just in case, right before user signs in. In all other cases chrome should keep old id. Code to send id is behind command line flag for now. This change covers desktop scenarios, doesn't cover chromeos. I'll do that in followup changes. BUG=382968 R=rogerta@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=281589

Patch Set 1 #

Total comments: 10

Patch Set 2 : Changes after feedback from Roger. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -20 lines) Patch
M chrome/browser/signin/chrome_signin_client.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/signin/chrome_signin_client.cc View 1 3 chunks +21 lines, -4 lines 0 comments Download
M chrome/browser/signin/signin_manager_factory.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/sync/one_click_signin_helper.h View 3 chunks +1 line, -3 lines 0 comments Download
M chrome/browser/ui/sync/one_click_signin_helper.cc View 1 10 chunks +7 lines, -13 lines 0 comments Download
M components/signin/core/browser/signin_client.h View 1 chunk +4 lines, -0 lines 0 comments Download
M components/signin/core/browser/signin_manager.cc View 1 chunk +1 line, -0 lines 0 comments Download
M components/signin/core/browser/test_signin_client.h View 1 chunk +3 lines, -0 lines 0 comments Download
M components/signin/core/browser/test_signin_client.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M components/signin/core/common/signin_pref_names.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/signin/core/common/signin_pref_names.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M components/signin/core/common/signin_switches.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/signin/core/common/signin_switches.cc View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
pavely
Roger, could you take a look? The main goal of this change was to clear ...
6 years, 5 months ago (2014-06-30 23:31:09 UTC) #1
pavely
Also, is there a good existing test that tests sign-in/sign-out scenarios where I could verify ...
6 years, 5 months ago (2014-07-01 00:23:29 UTC) #2
Roger Tawa OOO till Jul 10th
Looks good Pavel. Some questions below. https://codereview.chromium.org/362613002/diff/1/chrome/browser/ui/sync/one_click_signin_helper.cc File chrome/browser/ui/sync/one_click_signin_helper.cc (right): https://codereview.chromium.org/362613002/diff/1/chrome/browser/ui/sync/one_click_signin_helper.cc#newcode664 chrome/browser/ui/sync/one_click_signin_helper.cc:664: GenerateNewSigninScopedDeviceId(args_.profile); On 2014/06/30 ...
6 years, 5 months ago (2014-07-01 13:42:54 UTC) #3
pavely
PTAL https://codereview.chromium.org/362613002/diff/1/chrome/browser/ui/sync/one_click_signin_helper.cc File chrome/browser/ui/sync/one_click_signin_helper.cc (right): https://codereview.chromium.org/362613002/diff/1/chrome/browser/ui/sync/one_click_signin_helper.cc#newcode664 chrome/browser/ui/sync/one_click_signin_helper.cc:664: GenerateNewSigninScopedDeviceId(args_.profile); Ok, it seems like there are multiple ...
6 years, 5 months ago (2014-07-01 21:41:47 UTC) #4
Roger Tawa OOO till Jul 10th
lgtm https://codereview.chromium.org/362613002/diff/1/chrome/browser/ui/sync/one_click_signin_helper.cc File chrome/browser/ui/sync/one_click_signin_helper.cc (right): https://codereview.chromium.org/362613002/diff/1/chrome/browser/ui/sync/one_click_signin_helper.cc#newcode664 chrome/browser/ui/sync/one_click_signin_helper.cc:664: GenerateNewSigninScopedDeviceId(args_.profile); On 2014/07/01 21:41:47, pavely wrote: > Ok, ...
6 years, 5 months ago (2014-07-03 15:07:41 UTC) #5
pavely
The CQ bit was checked by pavely@chromium.org
6 years, 5 months ago (2014-07-07 17:28:32 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pavely@chromium.org/362613002/20001
6 years, 5 months ago (2014-07-07 17:29:55 UTC) #7
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_rel on tryserver.chromium ...
6 years, 5 months ago (2014-07-07 19:31:21 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-07 19:44:42 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_rel/builds/48954)
6 years, 5 months ago (2014-07-07 19:44:43 UTC) #10
pavely
The CQ bit was checked by pavely@chromium.org
6 years, 5 months ago (2014-07-07 20:22:32 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pavely@chromium.org/362613002/20001
6 years, 5 months ago (2014-07-07 20:22:50 UTC) #12
commit-bot: I haz the power
6 years, 5 months ago (2014-07-07 21:34:46 UTC) #13
Message was sent while issue was closed.
Change committed as 281589

Powered by Google App Engine
This is Rietveld 408576698