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

Issue 2474663003: arc: Shuffle ArcAuthService's interface (Closed)

Created:
4 years, 1 month ago by Luis Héctor Chávez
Modified:
4 years, 1 month ago
CC:
Aaron Boodman, abarth-chromium, chromium-reviews, darin (slow to review), davemoore+watch_chromium.org, elijahtaylor+arcwatch_chromium.org, hidehiko+watch_chromium.org, khmel+watch_chromium.org, lhchavez+watch_chromium.org, oshima+watch_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yusukes+watch_chromium.org, yzshen+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

arc: Shuffle ArcAuthService's interface This change introduces a new method that will provide ARC with all the information it needs to completely sign in and provision itself, reducing the number of round trips needed and allowing us to restructure ARC's code in a much simpler way. This change also now assumes that OnSignInComplete/OnSignInFailed can be called at any time (and in fact the former will be called every time ARC boots). BUG=657687 TEST=ARC still boots Committed: https://crrev.com/6bba4da10ab15b7ad7b8c1bda0cf04f1fa20d31f Cr-Commit-Position: refs/heads/master@{#429909}

Patch Set 1 #

Patch Set 2 : Formatting #

Total comments: 6

Patch Set 3 : Review feedback #

Total comments: 4

Patch Set 4 : Final nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+193 lines, -84 lines) Patch
M chrome/browser/chromeos/arc/arc_auth_service.h View 1 2 5 chunks +21 lines, -10 lines 0 comments Download
M chrome/browser/chromeos/arc/arc_auth_service.cc View 1 2 3 8 chunks +124 lines, -55 lines 0 comments Download
M components/arc/common/auth.mojom View 1 2 2 chunks +48 lines, -19 lines 0 comments Download

Messages

Total messages: 15 (6 generated)
Luis Héctor Chávez
PTAL hidehiko: all rickyz: *.mojom khmel: FYI
4 years, 1 month ago (2016-11-02 21:56:14 UTC) #4
hidehiko
lgtm. https://codereview.chromium.org/2474663003/diff/20001/chrome/browser/chromeos/arc/arc_auth_service.cc File chrome/browser/chromeos/arc/arc_auth_service.cc (right): https://codereview.chromium.org/2474663003/diff/20001/chrome/browser/chromeos/arc/arc_auth_service.cc#newcode392 chrome/browser/chromeos/arc/arc_auth_service.cc:392: profile_->GetPrefs()->SetBoolean(prefs::kArcSignedIn, true); Let's move this to L386. https://codereview.chromium.org/2474663003/diff/20001/chrome/browser/chromeos/arc/arc_auth_service.cc#newcode504 ...
4 years, 1 month ago (2016-11-03 00:27:21 UTC) #5
Luis Héctor Chávez
https://codereview.chromium.org/2474663003/diff/20001/chrome/browser/chromeos/arc/arc_auth_service.cc File chrome/browser/chromeos/arc/arc_auth_service.cc (right): https://codereview.chromium.org/2474663003/diff/20001/chrome/browser/chromeos/arc/arc_auth_service.cc#newcode392 chrome/browser/chromeos/arc/arc_auth_service.cc:392: profile_->GetPrefs()->SetBoolean(prefs::kArcSignedIn, true); On 2016/11/03 00:27:21, hidehiko wrote: > Let's ...
4 years, 1 month ago (2016-11-03 20:08:09 UTC) #6
khmel
lgtm https://codereview.chromium.org/2474663003/diff/40001/chrome/browser/chromeos/arc/arc_auth_service.cc File chrome/browser/chromeos/arc/arc_auth_service.cc (right): https://codereview.chromium.org/2474663003/diff/40001/chrome/browser/chromeos/arc/arc_auth_service.cc#newcode118 chrome/browser/chromeos/arc/arc_auth_service.cc:118: class ArcAuthService::AccountInfoNotifier { nit: May be move to ...
4 years, 1 month ago (2016-11-03 20:16:45 UTC) #7
rickyz (no longer on Chrome)
mojom lgtm So much legacy and deprecation, didn't ARC++ just launch recently? :-P
4 years, 1 month ago (2016-11-04 03:07:53 UTC) #8
Luis Héctor Chávez
https://codereview.chromium.org/2474663003/diff/40001/chrome/browser/chromeos/arc/arc_auth_service.cc File chrome/browser/chromeos/arc/arc_auth_service.cc (right): https://codereview.chromium.org/2474663003/diff/40001/chrome/browser/chromeos/arc/arc_auth_service.cc#newcode118 chrome/browser/chromeos/arc/arc_auth_service.cc:118: class ArcAuthService::AccountInfoNotifier { On 2016/11/03 20:16:45, khmel wrote: > ...
4 years, 1 month ago (2016-11-04 15:43:13 UTC) #9
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/2474663003/60001
4 years, 1 month ago (2016-11-04 15:43:44 UTC) #12
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 1 month ago (2016-11-04 16:34:06 UTC) #13
commit-bot: I haz the power
4 years, 1 month ago (2016-11-04 16:41:28 UTC) #15
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/6bba4da10ab15b7ad7b8c1bda0cf04f1fa20d31f
Cr-Commit-Position: refs/heads/master@{#429909}

Powered by Google App Engine
This is Rietveld 408576698