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

Issue 15977002: Add ManagedUserTokenFetcher to fetch scoped-down tokens. (Closed)

Created:
7 years, 7 months ago by Bernhard Bauer
Modified:
7 years, 6 months ago
CC:
chromium-reviews, Raghu Simha, haitaol1, pam+watch_chromium.org, akalin, tim (not reviewing), pavely
Visibility:
Public.

Description

Add ManagedUserTokenFetcher to fetch scoped-down tokens. TBR=rogerta@chromium.org BUG=228833 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=203015

Patch Set 1 #

Patch Set 2 : test #

Patch Set 3 : sync #

Patch Set 4 : fix merge #

Patch Set 5 : cleanup #

Patch Set 6 : fix android #

Patch Set 7 : fix #

Total comments: 19

Patch Set 8 : review #

Total comments: 35

Patch Set 9 : review #

Total comments: 12

Patch Set 10 : review #

Patch Set 11 : comment #

Patch Set 12 : fix #

Total comments: 2

Patch Set 13 : test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+908 lines, -38 lines) Patch
M chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc View 1 1 chunk +1 line, -4 lines 0 comments Download
A chrome/browser/managed_mode/managed_user_refresh_token_fetcher.h View 1 2 3 4 5 6 7 8 9 1 chunk +50 lines, -0 lines 0 comments Download
A chrome/browser/managed_mode/managed_user_refresh_token_fetcher.cc View 1 2 3 4 5 6 7 8 9 1 chunk +285 lines, -0 lines 0 comments Download
A chrome/browser/managed_mode/managed_user_refresh_token_fetcher_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +426 lines, -0 lines 0 comments Download
M chrome/browser/managed_mode/managed_user_registration_service.h View 1 2 3 4 5 6 7 8 9 10 4 chunks +17 lines, -2 lines 0 comments Download
M chrome/browser/managed_mode/managed_user_registration_service.cc View 1 2 3 4 5 6 7 8 4 chunks +27 lines, -4 lines 0 comments Download
M chrome/browser/managed_mode/managed_user_registration_service_factory.cc View 1 2 3 4 5 6 7 8 2 chunks +13 lines, -2 lines 0 comments Download
M chrome/browser/managed_mode/managed_user_registration_service_unittest.cc View 1 2 3 4 5 6 7 8 7 chunks +30 lines, -1 line 0 comments Download
M chrome/browser/signin/android_profile_oauth2_token_service.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/signin/oauth2_token_service.h View 9 1 chunk +0 lines, -6 lines 0 comments Download
M chrome/browser/signin/oauth2_token_service.cc View 1 2 3 4 5 6 7 8 4 chunks +3 lines, -15 lines 0 comments Download
M chrome/browser/signin/oauth2_token_service_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +51 lines, -2 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M google_apis/gaia/gaia_oauth_client.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 19 (0 generated)
Bernhard Bauer
Please review.
7 years, 7 months ago (2013-05-27 11:48:02 UTC) #1
Andrew T Wilson (Slow)
I'll be able to do a better job of reviewing this if I understand exactly ...
7 years, 7 months ago (2013-05-27 13:52:15 UTC) #2
Bernhard Bauer
On 2013/05/27 13:52:15, Andrew T Wilson wrote: > I'll be able to do a better ...
7 years, 7 months ago (2013-05-27 14:42:13 UTC) #3
Andrew T Wilson (Slow)
https://codereview.chromium.org/15977002/diff/26001/chrome/browser/managed_mode/managed_user_token_fetcher.cc File chrome/browser/managed_mode/managed_user_token_fetcher.cc (right): https://codereview.chromium.org/15977002/diff/26001/chrome/browser/managed_mode/managed_user_token_fetcher.cc#newcode130 chrome/browser/managed_mode/managed_user_token_fetcher.cc:130: OAuth2TokenService::ScopeSet(), this); On 2013/05/27 14:42:13, Bernhard Bauer wrote: > ...
7 years, 7 months ago (2013-05-27 16:41:24 UTC) #4
Andrew T Wilson (Slow)
Thanks for clarifying the design in our offline discussion. https://codereview.chromium.org/15977002/diff/26002/chrome/browser/managed_mode/managed_user_token_fetcher.cc File chrome/browser/managed_mode/managed_user_token_fetcher.cc (right): https://codereview.chromium.org/15977002/diff/26002/chrome/browser/managed_mode/managed_user_token_fetcher.cc#newcode42 chrome/browser/managed_mode/managed_user_token_fetcher.cc:42: ...
7 years, 6 months ago (2013-05-28 13:10:08 UTC) #5
Bernhard Bauer
https://codereview.chromium.org/15977002/diff/26002/chrome/browser/managed_mode/managed_user_token_fetcher.cc File chrome/browser/managed_mode/managed_user_token_fetcher.cc (right): https://codereview.chromium.org/15977002/diff/26002/chrome/browser/managed_mode/managed_user_token_fetcher.cc#newcode42 chrome/browser/managed_mode/managed_user_token_fetcher.cc:42: "&response_type=code" On 2013/05/28 13:10:08, Andrew T Wilson wrote: > ...
7 years, 6 months ago (2013-05-29 11:41:45 UTC) #6
Andrew T Wilson (Slow)
Getting very close now - some nits below and a few questions. https://codereview.chromium.org/15977002/diff/26002/chrome/browser/managed_mode/managed_user_token_fetcher.cc File chrome/browser/managed_mode/managed_user_token_fetcher.cc ...
7 years, 6 months ago (2013-05-29 12:05:33 UTC) #7
Bernhard Bauer
https://codereview.chromium.org/15977002/diff/26002/chrome/browser/managed_mode/managed_user_token_fetcher.cc File chrome/browser/managed_mode/managed_user_token_fetcher.cc (right): https://codereview.chromium.org/15977002/diff/26002/chrome/browser/managed_mode/managed_user_token_fetcher.cc#newcode127 chrome/browser/managed_mode/managed_user_token_fetcher.cc:127: StartFetching(); On 2013/05/29 12:05:33, Andrew T Wilson wrote: > ...
7 years, 6 months ago (2013-05-29 12:56:55 UTC) #8
Andrew T Wilson (Slow)
LGTM https://codereview.chromium.org/15977002/diff/26002/chrome/browser/managed_mode/managed_user_token_fetcher.cc File chrome/browser/managed_mode/managed_user_token_fetcher.cc (right): https://codereview.chromium.org/15977002/diff/26002/chrome/browser/managed_mode/managed_user_token_fetcher.cc#newcode127 chrome/browser/managed_mode/managed_user_token_fetcher.cc:127: StartFetching(); On 2013/05/29 12:56:55, Bernhard Bauer wrote: > ...
7 years, 6 months ago (2013-05-29 13:12:17 UTC) #9
Bernhard Bauer
TBR'ing Roger for GaiaOAuthClient (fixing an off-by-one error). https://codereview.chromium.org/15977002/diff/26002/chrome/browser/managed_mode/managed_user_token_fetcher.cc File chrome/browser/managed_mode/managed_user_token_fetcher.cc (right): https://codereview.chromium.org/15977002/diff/26002/chrome/browser/managed_mode/managed_user_token_fetcher.cc#newcode127 chrome/browser/managed_mode/managed_user_token_fetcher.cc:127: StartFetching(); ...
7 years, 6 months ago (2013-05-29 14:11:15 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bauerb@chromium.org/15977002/50001
7 years, 6 months ago (2013-05-29 14:11:32 UTC) #11
commit-bot: I haz the power
Retried try job too often on linux_aura for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_aura&number=44788
7 years, 6 months ago (2013-05-29 15:42:10 UTC) #12
Bernhard Bauer
(Actually adding rogerta) Roger: TBR for GaiaOAuthClient (fixing an off-by-one error).
7 years, 6 months ago (2013-05-29 16:22:11 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bauerb@chromium.org/15977002/56001
7 years, 6 months ago (2013-05-29 16:22:45 UTC) #14
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 6 months ago (2013-05-29 16:52:44 UTC) #15
Roger Tawa OOO till Jul 10th
lgtm fir browser/signin https://codereview.chromium.org/15977002/diff/56001/chrome/browser/signin/oauth2_token_service.cc File chrome/browser/signin/oauth2_token_service.cc (right): https://codereview.chromium.org/15977002/diff/56001/chrome/browser/signin/oauth2_token_service.cc#newcode431 chrome/browser/signin/oauth2_token_service.cc:431: if (token_iterator != token_cache_.end() && Seems ...
7 years, 6 months ago (2013-05-29 18:14:39 UTC) #16
Bernhard Bauer
https://codereview.chromium.org/15977002/diff/56001/chrome/browser/signin/oauth2_token_service.cc File chrome/browser/signin/oauth2_token_service.cc (right): https://codereview.chromium.org/15977002/diff/56001/chrome/browser/signin/oauth2_token_service.cc#newcode431 chrome/browser/signin/oauth2_token_service.cc:431: if (token_iterator != token_cache_.end() && On 2013/05/29 18:14:40, Roger ...
7 years, 6 months ago (2013-05-29 19:16:30 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bauerb@chromium.org/15977002/73001
7 years, 6 months ago (2013-05-29 19:16:42 UTC) #18
commit-bot: I haz the power
7 years, 6 months ago (2013-05-30 00:10:57 UTC) #19
Message was sent while issue was closed.
Change committed as 203015

Powered by Google App Engine
This is Rietveld 408576698