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

Issue 1109133004: Cleanup PolicyOAuth2TokenFetcher method signatures. (Closed)

Created:
5 years, 7 months ago by achuithb
Modified:
5 years, 7 months ago
CC:
chromium-reviews, dzhioev+watch_chromium.org, stevenjb+watch_chromium.org, oshima+watch_chromium.org, davemoore+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@policy
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Cleanup PolicyOAuth2TokenFetcher method signatures. * Replace ctors of PolicyOAuth2TokenFetcher and Start(), with StartWithSigninContext, and StartWithAuthCode. * Replace WildcardLoginChecker::Start with WildcardLoginChecker::StartWithSigninContext for consistency. BUG=470984 TEST=compiles Committed: https://crrev.com/20ec2f062ff3cf451cef9433f0c27a51ea070032 Cr-Commit-Position: refs/heads/master@{#327458}

Patch Set 1 #

Patch Set 2 : comment #

Total comments: 2

Patch Set 3 : Add safety DCHECKs #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -63 lines) Patch
M chrome/browser/chromeos/login/auth/chrome_login_performer.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/login/enrollment/enterprise_enrollment_helper_impl.cc View 2 chunks +6 lines, -7 lines 0 comments Download
M chrome/browser/chromeos/policy/policy_oauth2_token_fetcher.h View 1 2 chunks +15 lines, -17 lines 0 comments Download
M chrome/browser/chromeos/policy/policy_oauth2_token_fetcher.cc View 1 2 1 chunk +28 lines, -17 lines 5 comments Download
M chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.cc View 2 chunks +8 lines, -9 lines 0 comments Download
M chrome/browser/chromeos/policy/wildcard_login_checker.h View 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/policy/wildcard_login_checker.cc View 3 chunks +9 lines, -10 lines 0 comments Download

Messages

Total messages: 19 (5 generated)
achuithb
This is the cleanup I promised to Mattias in the other CL. Please take a ...
5 years, 7 months ago (2015-04-28 22:14:28 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1109133004/20001
5 years, 7 months ago (2015-04-28 22:21:06 UTC) #4
xiyuan
LGTM https://codereview.chromium.org/1109133004/diff/20001/chrome/browser/chromeos/policy/policy_oauth2_token_fetcher.cc File chrome/browser/chromeos/policy/policy_oauth2_token_fetcher.cc (right): https://codereview.chromium.org/1109133004/diff/20001/chrome/browser/chromeos/policy/policy_oauth2_token_fetcher.cc#newcode43 chrome/browser/chromeos/policy/policy_oauth2_token_fetcher.cc:43: const TokenCallback& callback) { nit: Let's DCHECK(!refresh_token_fetcher_ && ...
5 years, 7 months ago (2015-04-28 22:23:01 UTC) #5
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 7 months ago (2015-04-29 00:29:32 UTC) #7
achuithb
Thank you! Will wait for Mattias https://codereview.chromium.org/1109133004/diff/20001/chrome/browser/chromeos/policy/policy_oauth2_token_fetcher.cc File chrome/browser/chromeos/policy/policy_oauth2_token_fetcher.cc (right): https://codereview.chromium.org/1109133004/diff/20001/chrome/browser/chromeos/policy/policy_oauth2_token_fetcher.cc#newcode43 chrome/browser/chromeos/policy/policy_oauth2_token_fetcher.cc:43: const TokenCallback& callback) ...
5 years, 7 months ago (2015-04-29 03:17:10 UTC) #8
Mattias Nissler (ping if slow)
https://codereview.chromium.org/1109133004/diff/40001/chrome/browser/chromeos/policy/policy_oauth2_token_fetcher.cc File chrome/browser/chromeos/policy/policy_oauth2_token_fetcher.cc (right): https://codereview.chromium.org/1109133004/diff/40001/chrome/browser/chromeos/policy/policy_oauth2_token_fetcher.cc#newcode44 chrome/browser/chromeos/policy/policy_oauth2_token_fetcher.cc:44: DCHECK(!refresh_token_fetcher_ && !access_token_fetcher_); Maybe a better solution would be ...
5 years, 7 months ago (2015-04-29 07:18:41 UTC) #9
Mattias Nissler (ping if slow)
Oh, LGTM also for the current version of the CL, the comment I put is ...
5 years, 7 months ago (2015-04-29 07:19:17 UTC) #10
achuithb
Thank you for the review and suggestion, Mattias! https://codereview.chromium.org/1109133004/diff/40001/chrome/browser/chromeos/policy/policy_oauth2_token_fetcher.cc File chrome/browser/chromeos/policy/policy_oauth2_token_fetcher.cc (right): https://codereview.chromium.org/1109133004/diff/40001/chrome/browser/chromeos/policy/policy_oauth2_token_fetcher.cc#newcode44 chrome/browser/chromeos/policy/policy_oauth2_token_fetcher.cc:44: DCHECK(!refresh_token_fetcher_ ...
5 years, 7 months ago (2015-04-29 07:30:06 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1109133004/40001
5 years, 7 months ago (2015-04-29 07:31:21 UTC) #14
Mattias Nissler (ping if slow)
https://codereview.chromium.org/1109133004/diff/40001/chrome/browser/chromeos/policy/policy_oauth2_token_fetcher.cc File chrome/browser/chromeos/policy/policy_oauth2_token_fetcher.cc (right): https://codereview.chromium.org/1109133004/diff/40001/chrome/browser/chromeos/policy/policy_oauth2_token_fetcher.cc#newcode44 chrome/browser/chromeos/policy/policy_oauth2_token_fetcher.cc:44: DCHECK(!refresh_token_fetcher_ && !access_token_fetcher_); On 2015/04/29 07:30:05, achuithb wrote: > ...
5 years, 7 months ago (2015-04-29 07:35:17 UTC) #15
achuithb
https://codereview.chromium.org/1109133004/diff/40001/chrome/browser/chromeos/policy/policy_oauth2_token_fetcher.cc File chrome/browser/chromeos/policy/policy_oauth2_token_fetcher.cc (right): https://codereview.chromium.org/1109133004/diff/40001/chrome/browser/chromeos/policy/policy_oauth2_token_fetcher.cc#newcode44 chrome/browser/chromeos/policy/policy_oauth2_token_fetcher.cc:44: DCHECK(!refresh_token_fetcher_ && !access_token_fetcher_); On 2015/04/29 07:35:17, Mattias Nissler wrote: ...
5 years, 7 months ago (2015-04-29 08:28:37 UTC) #16
Mattias Nissler (ping if slow)
https://codereview.chromium.org/1109133004/diff/40001/chrome/browser/chromeos/policy/policy_oauth2_token_fetcher.cc File chrome/browser/chromeos/policy/policy_oauth2_token_fetcher.cc (right): https://codereview.chromium.org/1109133004/diff/40001/chrome/browser/chromeos/policy/policy_oauth2_token_fetcher.cc#newcode44 chrome/browser/chromeos/policy/policy_oauth2_token_fetcher.cc:44: DCHECK(!refresh_token_fetcher_ && !access_token_fetcher_); On 2015/04/29 08:28:37, achuithb wrote: > ...
5 years, 7 months ago (2015-04-29 08:48:50 UTC) #17
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 7 months ago (2015-04-29 09:39:23 UTC) #18
commit-bot: I haz the power
5 years, 7 months ago (2015-04-29 09:40:36 UTC) #19
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/20ec2f062ff3cf451cef9433f0c27a51ea070032
Cr-Commit-Position: refs/heads/master@{#327458}

Powered by Google App Engine
This is Rietveld 408576698