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

Issue 2485233002: Do not run Android management check for re-auth case. (Closed)

Created:
4 years, 1 month ago by hidehiko
Modified:
4 years, 1 month ago
CC:
chromium-reviews, elijahtaylor+arcwatch_chromium.org, alemate+watch_chromium.org, sadrul, yusukes+watch_chromium.org, hidehiko+watch_chromium.org, khmel+watch_chromium.org, lhchavez+watch_chromium.org, arv+watch_chromium.org, oshima+watch_chromium.org, kalyank, davemoore+watch_chromium.org, Polina Bondarenko, khmel
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Do not run Android management check for re-auth case. This CL removes the Android management check from re-auth code flow and OOBE flow. Along with the change, onRetry implementation is moved from UI code to native code. BUG=657687 BUG=b/31079732 BUG=b/32431329 TEST=Ran on test device. Ran bots. CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/7f74db3b9daf5ea99df3a30d272c80271750e89a Cr-Commit-Position: refs/heads/master@{#432128}

Patch Set 1 #

Total comments: 26

Patch Set 2 : rebase #

Patch Set 3 : Address comments. #

Total comments: 26

Patch Set 4 : address comments #

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+151 lines, -99 lines) Patch
M chrome/browser/chromeos/arc/arc_auth_service.h View 1 2 3 5 chunks +49 lines, -8 lines 0 comments Download
M chrome/browser/chromeos/arc/arc_auth_service.cc View 1 2 3 4 13 chunks +70 lines, -54 lines 0 comments Download
M chrome/browser/chromeos/arc/arc_auth_service_unittest.cc View 1 2 5 chunks +15 lines, -6 lines 0 comments Download
M chrome/browser/chromeos/arc/arc_support_host.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/arc/arc_support_host.cc View 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/resources/chromeos/arc_support/background.js View 5 chunks +1 line, -28 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl_unittest.cc View 1 2 3 chunks +7 lines, -3 lines 0 comments Download

Messages

Total messages: 29 (14 generated)
hidehiko
PTAL.
4 years, 1 month ago (2016-11-08 20:46:36 UTC) #4
hidehiko
Added some note for making review easier. Also note that I changed the first auth ...
4 years, 1 month ago (2016-11-10 01:46:24 UTC) #8
hidehiko
R+=xiyuan@ for c/b/r/c/arc_support, skuhne@ for c/b/u/a/launcher. Thank you for review in advance, - hidehiko
4 years, 1 month ago (2016-11-10 06:44:40 UTC) #10
Mr4D (OOO till 08-26)
Please look at comments. After that c/b/u/a/l lgtm https://codereview.chromium.org/2485233002/diff/1/chrome/browser/chromeos/arc/arc_auth_service.h File chrome/browser/chromeos/arc/arc_auth_service.h (right): https://codereview.chromium.org/2485233002/diff/1/chrome/browser/chromeos/arc/arc_auth_service.h#newcode65 chrome/browser/chromeos/arc/arc_auth_service.h:65: TERMS, ...
4 years, 1 month ago (2016-11-10 16:12:31 UTC) #11
xiyuan
https://codereview.chromium.org/2485233002/diff/1/chrome/browser/chromeos/arc/arc_auth_service.cc File chrome/browser/chromeos/arc/arc_auth_service.cc (right): https://codereview.chromium.org/2485233002/diff/1/chrome/browser/chromeos/arc/arc_auth_service.cc#newcode822 chrome/browser/chromeos/arc/arc_auth_service.cc:822: SetState(State::ANDROID_MANAGEMENT_CHECK); Why ANDROID_MANAGEMENT_CHECK instead of FETCHING_CODE?
4 years, 1 month ago (2016-11-10 17:55:21 UTC) #12
Luis Héctor Chávez
https://codereview.chromium.org/2485233002/diff/1/chrome/browser/chromeos/arc/arc_auth_service.cc File chrome/browser/chromeos/arc/arc_auth_service.cc (right): https://codereview.chromium.org/2485233002/diff/1/chrome/browser/chromeos/arc/arc_auth_service.cc#newcode398 chrome/browser/chromeos/arc/arc_auth_service.cc:398: void ArcAuthService::PrepareContextForAuthCodeRequest() { Is it possible to split this ...
4 years, 1 month ago (2016-11-10 23:30:58 UTC) #13
hidehiko
Thank you for review. PTAL. https://codereview.chromium.org/2485233002/diff/1/chrome/browser/chromeos/arc/arc_auth_service.cc File chrome/browser/chromeos/arc/arc_auth_service.cc (right): https://codereview.chromium.org/2485233002/diff/1/chrome/browser/chromeos/arc/arc_auth_service.cc#newcode398 chrome/browser/chromeos/arc/arc_auth_service.cc:398: void ArcAuthService::PrepareContextForAuthCodeRequest() { On ...
4 years, 1 month ago (2016-11-14 10:55:09 UTC) #16
Luis Héctor Chávez
https://codereview.chromium.org/2485233002/diff/1/chrome/browser/chromeos/arc/arc_auth_service.cc File chrome/browser/chromeos/arc/arc_auth_service.cc (right): https://codereview.chromium.org/2485233002/diff/1/chrome/browser/chromeos/arc/arc_auth_service.cc#newcode398 chrome/browser/chromeos/arc/arc_auth_service.cc:398: void ArcAuthService::PrepareContextForAuthCodeRequest() { On 2016/11/14 10:55:09, hidehiko wrote: > ...
4 years, 1 month ago (2016-11-14 17:06:51 UTC) #19
hidehiko
Thank you for review. PTAL. Note: I'd like to focus on refactoring of CHECKING_ANDROID_MANAGEMENT case, ...
4 years, 1 month ago (2016-11-14 19:07:57 UTC) #20
Luis Héctor Chávez
lgtm https://codereview.chromium.org/2485233002/diff/40001/chrome/browser/chromeos/arc/arc_auth_service.cc File chrome/browser/chromeos/arc/arc_auth_service.cc (right): https://codereview.chromium.org/2485233002/diff/40001/chrome/browser/chromeos/arc/arc_auth_service.cc#newcode379 chrome/browser/chromeos/arc/arc_auth_service.cc:379: RequestAccountInfoInternal( On 2016/11/14 19:07:57, hidehiko wrote: > On ...
4 years, 1 month ago (2016-11-14 19:19:25 UTC) #21
xiyuan
lgtm
4 years, 1 month ago (2016-11-14 22:55:01 UTC) #22
hidehiko
Thank you for review. Submitting.
4 years, 1 month ago (2016-11-15 04:58:55 UTC) #23
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/2485233002/80001
4 years, 1 month ago (2016-11-15 05:01:45 UTC) #26
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 1 month ago (2016-11-15 06:08:10 UTC) #27
commit-bot: I haz the power
4 years, 1 month ago (2016-11-15 06:11:38 UTC) #29
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/7f74db3b9daf5ea99df3a30d272c80271750e89a
Cr-Commit-Position: refs/heads/master@{#432128}

Powered by Google App Engine
This is Rietveld 408576698