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

Issue 57993006: signin: record http response codes and net errors in OAuth2AccessTokenFetcher. (Closed)

Created:
7 years, 1 month ago by tim (not reviewing)
Modified:
7 years, 1 month ago
CC:
chromium-reviews
Visibility:
Public.

Description

signin: record http response codes and net errors in OAuth2AccessTokenFetcher. I also changed the token fetcher to return SERVICE_ERROR when we see an HTTP 400 + custom service error, versus INVALID_GAIA_CREDENTIALS. R=courage@chromium.org, droger@chromium.org, pavely@chromium.org, rlarocque@chromium.org TBR=rlarocque@chromium.org (/invalidation) BUG=314705 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=233277

Patch Set 1 : #

Total comments: 1

Patch Set 2 : #

Patch Set 3 : review #

Patch Set 4 : add identity_api #

Patch Set 5 : handle parse failures better #

Patch Set 6 : eof #

Unified diffs Side-by-side diffs Delta from patch set Stats (+137 lines, -18 lines) Patch
M chrome/browser/extensions/api/identity/experimental_identity_api.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/api/identity/identity_api.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/invalidation/ticl_invalidation_service.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/signin/signin_global_error.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/signin/signin_ui_util.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/sync/profile_sync_service.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M google_apis/gaia/oauth2_access_token_fetcher.h View 1 chunk +9 lines, -3 lines 0 comments Download
M google_apis/gaia/oauth2_access_token_fetcher.cc View 1 2 3 4 5 6 chunks +95 lines, -11 lines 0 comments Download
M google_apis/gaia/oauth2_access_token_fetcher_unittest.cc View 1 5 chunks +27 lines, -4 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
tim (not reviewing)
Pavel, please review. +David FYI.
7 years, 1 month ago (2013-11-04 22:31:32 UTC) #1
pavely
On 2013/11/04 22:31:32, timsteele wrote: > Pavel, please review. +David FYI. There should be profile_sync_service.cc ...
7 years, 1 month ago (2013-11-04 23:25:13 UTC) #2
pavely
https://codereview.chromium.org/57993006/diff/30001/google_apis/gaia/oauth2_access_token_fetcher.cc File google_apis/gaia/oauth2_access_token_fetcher.cc (right): https://codereview.chromium.org/57993006/diff/30001/google_apis/gaia/oauth2_access_token_fetcher.cc#newcode188 google_apis/gaia/oauth2_access_token_fetcher.cc:188: GoogleServiceAuthError::SERVICE_ERROR)); You still need to return INVALID_GAIA_CREDENTIALS for invalid_grant
7 years, 1 month ago (2013-11-04 23:25:27 UTC) #3
tim (not reviewing)
Thanks Pavel. Please have another look.
7 years, 1 month ago (2013-11-04 23:51:35 UTC) #4
pavely
On 2013/11/04 23:51:35, timsteele wrote: > Thanks Pavel. Please have another look. lgtm but you'll ...
7 years, 1 month ago (2013-11-04 23:57:46 UTC) #5
droger
lgtm
7 years, 1 month ago (2013-11-05 00:01:24 UTC) #6
tim (not reviewing)
+rlarocque for invalidation owners +courage for identity_api I'm TBRing the CL because this should have ...
7 years, 1 month ago (2013-11-05 14:57:34 UTC) #7
tim (not reviewing)
On 2013/11/05 14:57:34, timsteele wrote: > +rlarocque for invalidation owners > +courage for identity_api > ...
7 years, 1 month ago (2013-11-05 15:12:38 UTC) #8
Michael Courage
lgtm
7 years, 1 month ago (2013-11-05 18:51:06 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tim@chromium.org/57993006/990001
7 years, 1 month ago (2013-11-05 19:24:33 UTC) #10
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) interactive_ui_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=185324
7 years, 1 month ago (2013-11-05 20:22:01 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tim@chromium.org/57993006/990001
7 years, 1 month ago (2013-11-05 21:24:44 UTC) #12
rlarocque
lgtm
7 years, 1 month ago (2013-11-05 22:52:35 UTC) #13
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) interactive_ui_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=185490
7 years, 1 month ago (2013-11-05 23:14:34 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tim@chromium.org/57993006/990001
7 years, 1 month ago (2013-11-06 14:34:07 UTC) #15
tim (not reviewing)
7 years, 1 month ago (2013-11-06 16:14:51 UTC) #16
Message was sent while issue was closed.
Committed patchset #6 manually as r233277 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698