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

Issue 1644713002: Allow gaia auth fetcher to work with arbitrary clients. (Closed)

Created:
4 years, 11 months ago by khmel
Modified:
4 years, 11 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Allow gaia auth fetcher to work with arbitrary clients. BUG=581793 TEST=Extended GaiaAuthFetcherTest passes TEST=Tested together https://codereview.chromium.org/1618193003/. Auth code is returned for GMS Core client id and is consumed at Android. Committed: https://crrev.com/2a5da822dd88c4eb3c538c134fd4b81f1207b8fb Cr-Commit-Position: refs/heads/master@{#371989}

Patch Set 1 #

Patch Set 2 : comments updated #

Patch Set 3 : prevent unsafe usage #

Total comments: 7

Patch Set 4 : comments addressed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -6 lines) Patch
M google_apis/gaia/gaia_auth_consumer.h View 1 chunk +1 line, -0 lines 0 comments Download
M google_apis/gaia/gaia_auth_fetcher.h View 1 2 3 2 chunks +20 lines, -1 line 0 comments Download
M google_apis/gaia/gaia_auth_fetcher.cc View 1 2 3 4 chunks +19 lines, -5 lines 0 comments Download
M google_apis/gaia/gaia_auth_fetcher_unittest.cc View 1 2 3 3 chunks +33 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (6 generated)
khmel
As discussed https://codereview.chromium.org/1618193003, the easiest way to get auth code for GMS Core client is ...
4 years, 11 months ago (2016-01-27 19:49:17 UTC) #3
khmel
Fixed unsafe usage found during real testing. PTAL
4 years, 11 months ago (2016-01-27 22:10:41 UTC) #4
xiyuan
Mostly good. Thank you for doing this. https://codereview.chromium.org/1644713002/diff/40001/google_apis/gaia/gaia_auth_fetcher.cc File google_apis/gaia/gaia_auth_fetcher.cc (right): https://codereview.chromium.org/1644713002/diff/40001/google_apis/gaia/gaia_auth_fetcher.cc#newcode187 google_apis/gaia/gaia_auth_fetcher.cc:187: fetch_token_from_auth_code_(false) { ...
4 years, 11 months ago (2016-01-27 22:51:30 UTC) #5
khmel
Thanks Xiyuan for your fast review. I've updated code. PTAL https://codereview.chromium.org/1644713002/diff/40001/google_apis/gaia/gaia_auth_fetcher.cc File google_apis/gaia/gaia_auth_fetcher.cc (right): https://codereview.chromium.org/1644713002/diff/40001/google_apis/gaia/gaia_auth_fetcher.cc#newcode187 ...
4 years, 11 months ago (2016-01-27 23:16:13 UTC) #6
xiyuan
LGTM But you still need an owner's stamp, either from zel or rogerta. https://codereview.chromium.org/1644713002/diff/40001/google_apis/gaia/gaia_auth_fetcher.cc File ...
4 years, 11 months ago (2016-01-27 23:19:31 UTC) #7
khmel
Hi Zel and Roger, This CL was kindly reviewed by Xiyuan. As a OWNER, could ...
4 years, 11 months ago (2016-01-27 23:26:50 UTC) #9
zel
lgtm
4 years, 11 months ago (2016-01-28 01:57:19 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1644713002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1644713002/60001
4 years, 11 months ago (2016-01-28 02:11:24 UTC) #12
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 11 months ago (2016-01-28 03:23:39 UTC) #14
commit-bot: I haz the power
4 years, 11 months ago (2016-01-28 03:24:27 UTC) #16
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/2a5da822dd88c4eb3c538c134fd4b81f1207b8fb
Cr-Commit-Position: refs/heads/master@{#371989}

Powered by Google App Engine
This is Rietveld 408576698