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

Issue 597003002: UbertokenFecther should invalidate access token if it's invalid. (Closed)

Created:
6 years, 3 months ago by Roger Tawa OOO till Jul 10th
Modified:
6 years, 2 months ago
Reviewers:
guohui
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@z359700
Project:
chromium
Visibility:
Public.

Description

UbertokenFecther should invalidate access token if it's invalid. Add retry with backoff to invalidate only for non-transient errors. BUG=416612 Committed: https://crrev.com/b6fc75671249eb039ad6937e87d145b3d68c7a71 Cr-Commit-Position: refs/heads/master@{#296992}

Patch Set 1 : Add backoff #

Patch Set 2 : Add newline at eof #

Patch Set 3 : rebased #

Patch Set 4 : Retry non-transient error #

Patch Set 5 : merged #

Total comments: 2

Patch Set 6 : Refactor init #

Unified diffs Side-by-side diffs Delta from patch set Stats (+138 lines, -11 lines) Patch
M google_apis/gaia/ubertoken_fetcher.h View 1 2 3 3 chunks +15 lines, -0 lines 0 comments Download
M google_apis/gaia/ubertoken_fetcher.cc View 1 2 3 4 5 6 chunks +62 lines, -9 lines 0 comments Download
M google_apis/gaia/ubertoken_fetcher_unittest.cc View 1 2 3 1 chunk +61 lines, -2 lines 0 comments Download

Messages

Total messages: 14 (7 generated)
Roger Tawa OOO till Jul 10th
Hi Hui, Following up on our discussion after the simplification of the reconcilor. The uber-token ...
6 years, 2 months ago (2014-09-25 15:28:43 UTC) #6
Roger Tawa OOO till Jul 10th
Hi Hui, As discussed, a non-transient failure will invalidate the access token and try one ...
6 years, 2 months ago (2014-09-26 03:46:14 UTC) #7
guohui
lgtm with one question. https://codereview.chromium.org/597003002/diff/150001/google_apis/gaia/ubertoken_fetcher.cc File google_apis/gaia/ubertoken_fetcher.cc (right): https://codereview.chromium.org/597003002/diff/150001/google_apis/gaia/ubertoken_fetcher.cc#newcode70 google_apis/gaia/ubertoken_fetcher.cc:70: } else { can we ...
6 years, 2 months ago (2014-09-26 17:22:31 UTC) #8
Roger Tawa OOO till Jul 10th
Thanks Hui. Implemented minor change to RequestAccessToken() we discussed. https://codereview.chromium.org/597003002/diff/150001/google_apis/gaia/ubertoken_fetcher.cc File google_apis/gaia/ubertoken_fetcher.cc (right): https://codereview.chromium.org/597003002/diff/150001/google_apis/gaia/ubertoken_fetcher.cc#newcode70 google_apis/gaia/ubertoken_fetcher.cc:70: ...
6 years, 2 months ago (2014-09-26 17:49:55 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/597003002/170001
6 years, 2 months ago (2014-09-26 17:51:13 UTC) #12
commit-bot: I haz the power
Committed patchset #6 (id:170001) as 72f4f4bd0f046ada61cbda6abdc4d2e0ea7f26c6
6 years, 2 months ago (2014-09-26 18:55:29 UTC) #13
commit-bot: I haz the power
6 years, 2 months ago (2014-09-26 18:56:10 UTC) #14
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/b6fc75671249eb039ad6937e87d145b3d68c7a71
Cr-Commit-Position: refs/heads/master@{#296992}

Powered by Google App Engine
This is Rietveld 408576698