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

Issue 2672833002: [Desktop] Add diagnostics about loading the refresh tokens. (Closed)

Created:
3 years, 10 months ago by msarda
Modified:
3 years, 10 months ago
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Desktop] Add diagnostics about loading the refresh tokens. This CL adds a new line in the sign-in internals that logs the state of the last load of credentials. This would enable debugging cases when the profiles enters an invalid credentials auth error state. Screenshot: https://drive.google.com/open?id=0Bw1MJ8m7U5kbOV9Yb2hUTVpwMjA TBR=pkasting@chromium.org BUG=686485 Review-Url: https://codereview.chromium.org/2672833002 Cr-Commit-Position: refs/heads/master@{#449290} Committed: https://chromium.googlesource.com/chromium/src/+/fd932ab936187fa497e6744b9a299755a7311af5

Patch Set 1 #

Patch Set 2 : About signin internals #

Patch Set 3 : Nit #

Total comments: 2

Patch Set 4 : Add unit tests #

Patch Set 5 : Rebase #

Patch Set 6 : Fix compile #

Unified diffs Side-by-side diffs Delta from patch set Stats (+167 lines, -27 lines) Patch
M chrome/browser/signin/mutable_profile_oauth2_token_service_delegate.h View 1 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/signin/mutable_profile_oauth2_token_service_delegate.cc View 1 2 3 4 5 6 chunks +49 lines, -9 lines 0 comments Download
M chrome/browser/signin/mutable_profile_oauth2_token_service_delegate_unittest.cc View 1 2 3 3 chunks +22 lines, -0 lines 0 comments Download
M components/signin/core/browser/about_signin_internals.h View 2 chunks +4 lines, -0 lines 0 comments Download
M components/signin/core/browser/about_signin_internals.cc View 1 2 3 4 chunks +33 lines, -0 lines 0 comments Download
M components/signin/core/browser/signin_internals_util.h View 1 chunk +1 line, -7 lines 0 comments Download
M components/signin/core/browser/webdata/token_service_table.h View 2 chunks +8 lines, -1 line 0 comments Download
M components/signin/core/browser/webdata/token_service_table.cc View 1 2 3 4 3 chunks +5 lines, -5 lines 0 comments Download
M components/signin/core/browser/webdata/token_web_data.h View 1 2 3 4 5 2 chunks +11 lines, -0 lines 0 comments Download
M components/signin/core/browser/webdata/token_web_data.cc View 1 2 3 4 5 2 chunks +9 lines, -4 lines 0 comments Download
M components/webdata/common/web_data_results.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M google_apis/gaia/oauth2_token_service_delegate.h View 1 2 3 4 5 2 chunks +15 lines, -0 lines 0 comments Download
M google_apis/gaia/oauth2_token_service_delegate.cc View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 45 (30 generated)
msarda
Roger, This CL is in an early stage as I have not adapted/changed unit tests ...
3 years, 10 months ago (2017-02-02 17:12:42 UTC) #4
Roger Tawa OOO till Jul 10th
Looks fine, one comment below. https://codereview.chromium.org/2672833002/diff/40001/chrome/browser/signin/mutable_profile_oauth2_token_service_delegate.cc File chrome/browser/signin/mutable_profile_oauth2_token_service_delegate.cc (right): https://codereview.chromium.org/2672833002/diff/40001/chrome/browser/signin/mutable_profile_oauth2_token_service_delegate.cc#newcode320 chrome/browser/signin/mutable_profile_oauth2_token_service_delegate.cc:320: // as well? I'm ...
3 years, 10 months ago (2017-02-02 18:58:25 UTC) #5
msarda
https://codereview.chromium.org/2672833002/diff/40001/chrome/browser/signin/mutable_profile_oauth2_token_service_delegate.cc File chrome/browser/signin/mutable_profile_oauth2_token_service_delegate.cc (right): https://codereview.chromium.org/2672833002/diff/40001/chrome/browser/signin/mutable_profile_oauth2_token_service_delegate.cc#newcode320 chrome/browser/signin/mutable_profile_oauth2_token_service_delegate.cc:320: // as well? On 2017/02/02 18:58:25, Roger Tawa wrote: ...
3 years, 10 months ago (2017-02-03 09:07:09 UTC) #6
msarda
Roger, I have added a coupe of tests for the regular cases, but not for ...
3 years, 10 months ago (2017-02-03 15:44:38 UTC) #8
msarda
Roger: Please take a look.
3 years, 10 months ago (2017-02-07 13:22:09 UTC) #9
Roger Tawa OOO till Jul 10th
lgtm
3 years, 10 months ago (2017-02-07 15:13:07 UTC) #10
msarda
pkasting@chromium.org: Please do an owners review of components/webdata/common/web_data_results.h
3 years, 10 months ago (2017-02-08 08:59:43 UTC) #12
msarda
API change approved by OWNER. TBR-ing pkasting@chromium.org for change in the file components/webdata/common/web_data_results.h
3 years, 10 months ago (2017-02-08 13:21:55 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2672833002/60001
3 years, 10 months ago (2017-02-08 13:22:28 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/149543) ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 10 months ago (2017-02-08 13:24:22 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2672833002/80001
3 years, 10 months ago (2017-02-08 15:32:27 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_android on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/cast_shell_android/builds/207317) linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, ...
3 years, 10 months ago (2017-02-08 15:44:01 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2672833002/160001
3 years, 10 months ago (2017-02-09 13:43:26 UTC) #41
commit-bot: I haz the power
Committed patchset #6 (id:160001) as https://chromium.googlesource.com/chromium/src/+/fd932ab936187fa497e6744b9a299755a7311af5
3 years, 10 months ago (2017-02-09 14:57:52 UTC) #44
Peter Kasting
3 years, 10 months ago (2017-02-10 01:34:07 UTC) #45
Message was sent while issue was closed.
LGTM

Powered by Google App Engine
This is Rietveld 408576698