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

Issue 2737453003: Fix ArcSessionManager state machine, part 1. (Closed)

Created:
3 years, 9 months ago by hidehiko
Modified:
3 years, 9 months ago
CC:
chromium-reviews, elijahtaylor+arcwatch_chromium.org, oshima+watch_chromium.org, yusukes+watch_chromium.org, hidehiko+watch_chromium.org, sadrul, lhchavez+watch_chromium.org, victorhsieh+watch_chromium.org, kalyank, davemoore+watch_chromium.org, Luis Héctor Chávez, victorhsieh, emaxx, Sergey Poromov
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix ArcSessionManager state machine, part 1. This CL fixes the SHOWING_TERMS_OF_SERVICE part. - Renamed to NEGOTIATING_ to reflect its actual responsibility. - Move checks if ToS negotiation is skipped into the state. - For better encapsulation. - Removing state machine transition from STOPPED to CHECKING_ANDROID_MANAGEMENT as simplification. - Get rid of CancelAuthCode() on Terms of Service rejecting. BUG=657687 BUG=b/31079732 TEST=Ran trybots. Review-Url: https://codereview.chromium.org/2737453003 Cr-Commit-Position: refs/heads/master@{#455690} Committed: https://chromium.googlesource.com/chromium/src/+/13c620a0df3f13dfb9f43c92faf2b608e0c63215

Patch Set 1 #

Total comments: 20

Patch Set 2 : rebase #

Patch Set 3 : Address comments. #

Total comments: 2

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+141 lines, -93 lines) Patch
M chrome/browser/chromeos/arc/arc_play_store_enabled_preference_handler_unittest.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/arc/arc_session_manager.h View 1 2 4 chunks +17 lines, -6 lines 0 comments Download
M chrome/browser/chromeos/arc/arc_session_manager.cc View 1 2 3 10 chunks +90 lines, -65 lines 0 comments Download
M chrome/browser/chromeos/arc/arc_session_manager_unittest.cc View 1 2 3 9 chunks +27 lines, -15 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl_unittest.cc View 1 2 3 3 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 32 (18 generated)
hidehiko
Yusuke-san, PTAL. FYI: victorhsieh@, I hope this CL helps your extraction work for crbug.com/698418. If ...
3 years, 9 months ago (2017-03-06 13:38:39 UTC) #4
hidehiko
R+=skuhne@. Oops, I overlooked I touched c/b/ui/ash/launcher code... Stefan, could you take a look at ...
3 years, 9 months ago (2017-03-06 17:48:43 UTC) #8
Yusuke Sato
https://codereview.chromium.org/2737453003/diff/1/chrome/browser/chromeos/arc/arc_session_manager.cc File chrome/browser/chromeos/arc/arc_session_manager.cc (right): https://codereview.chromium.org/2737453003/diff/1/chrome/browser/chromeos/arc/arc_session_manager.cc#newcode67 chrome/browser/chromeos/arc/arc_session_manager.cc:67: // Update UMA with user cancel only if error ...
3 years, 9 months ago (2017-03-06 20:52:16 UTC) #10
Yusuke Sato
https://codereview.chromium.org/2737453003/diff/1/chrome/browser/chromeos/arc/arc_session_manager.cc File chrome/browser/chromeos/arc/arc_session_manager.cc (right): https://codereview.chromium.org/2737453003/diff/1/chrome/browser/chromeos/arc/arc_session_manager.cc#newcode594 chrome/browser/chromeos/arc/arc_session_manager.cc:594: // Check Android management in parallel. On 2017/03/06 20:52:16, ...
3 years, 9 months ago (2017-03-06 22:04:56 UTC) #11
victorhsieh
There will be some conflict but shouldn't be too bad. I also just you an ...
3 years, 9 months ago (2017-03-06 23:11:52 UTC) #13
Mr4D (OOO till 08-26)
c/b/ui/ash/launcher lgtm
3 years, 9 months ago (2017-03-07 00:32:40 UTC) #14
hidehiko
Thank you for review. PTAL. https://codereview.chromium.org/2737453003/diff/1/chrome/browser/chromeos/arc/arc_session_manager.cc File chrome/browser/chromeos/arc/arc_session_manager.cc (right): https://codereview.chromium.org/2737453003/diff/1/chrome/browser/chromeos/arc/arc_session_manager.cc#newcode67 chrome/browser/chromeos/arc/arc_session_manager.cc:67: // Update UMA with ...
3 years, 9 months ago (2017-03-07 14:52:21 UTC) #17
Yusuke Sato
lgtm
3 years, 9 months ago (2017-03-07 16:58:02 UTC) #20
victorhsieh
lgtm
3 years, 9 months ago (2017-03-07 18:02:01 UTC) #21
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/2737453003/60001
3 years, 9 months ago (2017-03-09 05:42:13 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/380016)
3 years, 9 months ago (2017-03-09 06:46:11 UTC) #26
hidehiko
On 2017/03/09 06:46:11, commit-bot: I haz the power wrote: > Try jobs failed on following ...
3 years, 9 months ago (2017-03-09 06:51:22 UTC) #27
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/2737453003/60001
3 years, 9 months ago (2017-03-09 06:51:54 UTC) #29
commit-bot: I haz the power
3 years, 9 months ago (2017-03-09 07:28:18 UTC) #32
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/13c620a0df3f13dfb9f43c92faf2...

Powered by Google App Engine
This is Rietveld 408576698