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

Issue 2412133004: arc: Restore broken auth code requst on demand. (Closed)

Created:
4 years, 2 months ago by khmel
Modified:
4 years, 2 months ago
CC:
chromium-reviews, elijahtaylor+arcwatch_chromium.org, yusukes+watch_chromium.org, hidehiko+watch_chromium.org, lhchavez+watch_chromium.org, oshima+watch_chromium.org, davemoore+watch_chromium.org, Luis Héctor Chávez
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

arc: Restore broken auth code request on demand. This feature is required when Android needs re-authorization or in new OOBE Arc Terms integration. BUG=b/32124104 TEST=Manually on device during the testing OOBE Arc Terms Committed: https://crrev.com/b5454c4d0b19707cf4f072af7c54f6f2f2695f83 Cr-Commit-Position: refs/heads/master@{#426680}

Patch Set 1 #

Total comments: 19

Patch Set 2 : fix compilation #

Patch Set 3 : refactor #

Total comments: 2

Patch Set 4 : comments + use IsAuthCodeRequest in one more place #

Patch Set 5 : remove DCHECK_EQ(state_, State::ACTIVE) (State can be ACTIVE/FETCHING_CODE) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -29 lines) Patch
M chrome/browser/chromeos/arc/arc_auth_service.h View 1 2 2 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/arc/arc_auth_service.cc View 1 2 3 4 8 chunks +53 lines, -27 lines 0 comments Download

Messages

Total messages: 31 (10 generated)
khmel
Hi Xiyuan and Hidehiko, PTAL https://codereview.chromium.org/2412133004/diff/1/chrome/browser/chromeos/arc/arc_auth_service.cc File chrome/browser/chromeos/arc/arc_auth_service.cc (left): https://codereview.chromium.org/2412133004/diff/1/chrome/browser/chromeos/arc/arc_auth_service.cc#oldcode821 chrome/browser/chromeos/arc/arc_auth_service.cc:821: IDS_ARC_SIGN_IN_SERVICE_UNAVAILABLE_ERROR)); This error has ...
4 years, 2 months ago (2016-10-12 23:46:28 UTC) #2
xiyuan
lgtm requst -> request in cl description
4 years, 2 months ago (2016-10-13 00:34:10 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2412133004/1
4 years, 2 months ago (2016-10-13 15:16:42 UTC) #6
hidehiko
Please wait for submit. https://codereview.chromium.org/2412133004/diff/1/chrome/browser/chromeos/arc/arc_auth_service.cc File chrome/browser/chromeos/arc/arc_auth_service.cc (right): https://codereview.chromium.org/2412133004/diff/1/chrome/browser/chromeos/arc/arc_auth_service.cc#newcode818 chrome/browser/chromeos/arc/arc_auth_service.cc:818: void ArcAuthService::StartUI() { StartUI is ...
4 years, 2 months ago (2016-10-13 15:22:00 UTC) #7
hidehiko
Sorry, but let me uncheck the commit, now...
4 years, 2 months ago (2016-10-13 15:22:27 UTC) #8
khmel
https://codereview.chromium.org/2412133004/diff/1/chrome/browser/chromeos/arc/arc_auth_service.cc File chrome/browser/chromeos/arc/arc_auth_service.cc (right): https://codereview.chromium.org/2412133004/diff/1/chrome/browser/chromeos/arc/arc_auth_service.cc#newcode818 chrome/browser/chromeos/arc/arc_auth_service.cc:818: void ArcAuthService::StartUI() { On 2016/10/13 15:22:00, hidehiko wrote: > ...
4 years, 2 months ago (2016-10-13 15:30:19 UTC) #10
khmel
4 years, 2 months ago (2016-10-13 15:30:22 UTC) #11
hidehiko
Thank you for quick reply! https://codereview.chromium.org/2412133004/diff/1/chrome/browser/chromeos/arc/arc_auth_service.cc File chrome/browser/chromeos/arc/arc_auth_service.cc (right): https://codereview.chromium.org/2412133004/diff/1/chrome/browser/chromeos/arc/arc_auth_service.cc#newcode818 chrome/browser/chromeos/arc/arc_auth_service.cc:818: void ArcAuthService::StartUI() { On ...
4 years, 2 months ago (2016-10-13 15:44:32 UTC) #12
khmel
https://codereview.chromium.org/2412133004/diff/1/chrome/browser/chromeos/arc/arc_auth_service.cc File chrome/browser/chromeos/arc/arc_auth_service.cc (right): https://codereview.chromium.org/2412133004/diff/1/chrome/browser/chromeos/arc/arc_auth_service.cc#newcode818 chrome/browser/chromeos/arc/arc_auth_service.cc:818: void ArcAuthService::StartUI() { On 2016/10/13 15:44:32, hidehiko wrote: > ...
4 years, 2 months ago (2016-10-13 15:53:21 UTC) #13
Yusuke Sato
drive-by: https://codereview.chromium.org/2412133004/diff/1/chrome/browser/chromeos/arc/arc_auth_service.cc File chrome/browser/chromeos/arc/arc_auth_service.cc (right): https://codereview.chromium.org/2412133004/diff/1/chrome/browser/chromeos/arc/arc_auth_service.cc#newcode818 chrome/browser/chromeos/arc/arc_auth_service.cc:818: void ArcAuthService::StartUI() { On 2016/10/13 15:53:21, khmel wrote: ...
4 years, 2 months ago (2016-10-15 01:16:32 UTC) #15
hidehiko
+cc: Luis, as he and I'm cleaning up ARC start up procedure. Thank you very ...
4 years, 2 months ago (2016-10-17 09:23:31 UTC) #16
khmel
Truncated.. > > > This is real case that blocks working re-auth process. I don't ...
4 years, 2 months ago (2016-10-18 01:26:04 UTC) #17
hidehiko
Note: to reply each inlined comment, could you use the web-UI on each diff page, ...
4 years, 2 months ago (2016-10-18 09:38:28 UTC) #18
hidehiko
https://codereview.chromium.org/2412133004/diff/40001/chrome/browser/chromeos/arc/arc_auth_service.cc File chrome/browser/chromeos/arc/arc_auth_service.cc (right): https://codereview.chromium.org/2412133004/diff/40001/chrome/browser/chromeos/arc/arc_auth_service.cc#newcode761 chrome/browser/chromeos/arc/arc_auth_service.cc:761: StartUI(); This should be PrepareContextForAuthCodeRequest(), too? If you do ...
4 years, 2 months ago (2016-10-18 09:38:42 UTC) #19
hidehiko
Yury, considering this is marked as M55 bug, how about landing this quickly (I'd appreciate ...
4 years, 2 months ago (2016-10-20 05:07:14 UTC) #20
khmel
Thank you Hidehiko for your comments. >> Could you describe more details how re-enable ARC ...
4 years, 2 months ago (2016-10-20 15:31:41 UTC) #22
Yusuke Sato
lgtm
4 years, 2 months ago (2016-10-20 19:44:49 UTC) #23
khmel
Thank you for review.
4 years, 2 months ago (2016-10-20 22:48:08 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2412133004/100001
4 years, 2 months ago (2016-10-20 22:49:08 UTC) #27
commit-bot: I haz the power
Committed patchset #5 (id:100001)
4 years, 2 months ago (2016-10-21 01:31:00 UTC) #29
commit-bot: I haz the power
4 years, 2 months ago (2016-10-21 13:25:48 UTC) #31
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/b5454c4d0b19707cf4f072af7c54f6f2f2695f83
Cr-Commit-Position: refs/heads/master@{#426680}

Powered by Google App Engine
This is Rietveld 408576698