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

Issue 2111733002: arc: Handle closing OptIn window for managed Arc. (Closed)

Created:
4 years, 5 months ago by khmel
Modified:
4 years, 5 months ago
CC:
chromium-reviews, elijahtaylor+arcwatch_chromium.org, sadrul, yusukes+watch_chromium.org, hidehiko+watch_chromium.org, lhchavez+watch_chromium.org, oshima+watch_chromium.org, kalyank, davemoore+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

arc: Handle closing OptIn window for managed Arc. This allows restarting OptIn flow for managed Arc in case user re-activates it after stopping. BUG=b/29121091 TEST=Manually on device for managed Arc (@google.com) and non-managed Arc (@gmail.com). In both cases OptIn can be restarted after canceling it. Committed: https://crrev.com/34fd9497a76e94d4c843a781872e1199b6f68275 Cr-Commit-Position: refs/heads/master@{#403371}

Patch Set 1 #

Total comments: 5

Patch Set 2 : comment added #

Patch Set 3 : fix comilation error #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -14 lines) Patch
M chrome/browser/chromeos/arc/arc_auth_service.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/arc/arc_auth_service.cc View 1 2 4 chunks +33 lines, -12 lines 2 comments Download
M chrome/browser/ui/ash/launcher/arc_playstore_shortcut_launcher_item_controller.cc View 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 23 (8 generated)
khmel
Hi Luis, This is kind of variation of your previous CL. PTAL https://codereview.chromium.org/2111733002/diff/1/chrome/browser/chromeos/arc/arc_auth_service.cc File chrome/browser/chromeos/arc/arc_auth_service.cc ...
4 years, 5 months ago (2016-06-29 23:53:55 UTC) #2
Luis Héctor Chávez
oh, i like this better :) Thanks for the follow-up and cleanup https://codereview.chromium.org/2111733002/diff/1/chrome/browser/chromeos/arc/arc_auth_service.cc File chrome/browser/chromeos/arc/arc_auth_service.cc ...
4 years, 5 months ago (2016-06-30 17:04:13 UTC) #3
khmel
Thanks Luis for feedback, Adding oshima@ to review trivial controller change once Stefan is OOO. ...
4 years, 5 months ago (2016-06-30 17:41:50 UTC) #5
Luis Héctor Chávez
https://codereview.chromium.org/2111733002/diff/1/chrome/browser/chromeos/arc/arc_auth_service.cc File chrome/browser/chromeos/arc/arc_auth_service.cc (right): https://codereview.chromium.org/2111733002/diff/1/chrome/browser/chromeos/arc/arc_auth_service.cc#newcode592 chrome/browser/chromeos/arc/arc_auth_service.cc:592: if (state_ != State::FETCHING_CODE && ui_page_ != UIPage::ERROR && ...
4 years, 5 months ago (2016-06-30 20:46:46 UTC) #6
khmel
On 2016/06/30 20:46:46, Luis Héctor Chávez wrote: > https://codereview.chromium.org/2111733002/diff/1/chrome/browser/chromeos/arc/arc_auth_service.cc > File chrome/browser/chromeos/arc/arc_auth_service.cc (right): > > ...
4 years, 5 months ago (2016-06-30 22:16:45 UTC) #7
oshima
controller lgtm
4 years, 5 months ago (2016-06-30 22:36:28 UTC) #8
Luis Héctor Chávez
On 2016/06/30 22:16:45, khmel wrote: > On 2016/06/30 20:46:46, Luis Héctor Chávez wrote: > > ...
4 years, 5 months ago (2016-06-30 22:38:12 UTC) #9
khmel
Thanks for review! Following is created to implement more features: b/29915185 b/29915769
4 years, 5 months ago (2016-06-30 22:49:57 UTC) #10
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/2111733002/20001
4 years, 5 months ago (2016-06-30 22:50:49 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_x86-generic_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_x86-generic_chromium_compile_only_ng/builds/161776) linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, ...
4 years, 5 months ago (2016-06-30 23:06:41 UTC) #14
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/2111733002/40001
4 years, 5 months ago (2016-06-30 23:39:49 UTC) #17
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 5 months ago (2016-07-01 00:30:33 UTC) #18
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/34fd9497a76e94d4c843a781872e1199b6f68275 Cr-Commit-Position: refs/heads/master@{#403371}
4 years, 5 months ago (2016-07-01 00:32:01 UTC) #20
mtomasz
https://codereview.chromium.org/2111733002/diff/40001/chrome/browser/chromeos/arc/arc_auth_service.cc File chrome/browser/chromeos/arc/arc_auth_service.cc (right): https://codereview.chromium.org/2111733002/diff/40001/chrome/browser/chromeos/arc/arc_auth_service.cc#newcode648 chrome/browser/chromeos/arc/arc_auth_service.cc:648: profile_->GetPrefs()->SetBoolean(prefs::kArcEnabled, false); Why isn't there a "if (IsArcManaged())" guard ...
4 years, 5 months ago (2016-07-20 03:46:26 UTC) #22
khmel
4 years, 5 months ago (2016-07-20 16:50:41 UTC) #23
Message was sent while issue was closed.
https://codereview.chromium.org/2111733002/diff/40001/chrome/browser/chromeos...
File chrome/browser/chromeos/arc/arc_auth_service.cc (right):

https://codereview.chromium.org/2111733002/diff/40001/chrome/browser/chromeos...
chrome/browser/chromeos/arc/arc_auth_service.cc:648:
profile_->GetPrefs()->SetBoolean(prefs::kArcEnabled, false);
On 2016/07/20 03:46:25, mtomasz wrote:
> Why isn't there a "if (IsArcManaged())" guard like in #637? Is it intentional?

This has no effect for managed Arc. Probably for consistency we may add it.

Powered by Google App Engine
This is Rietveld 408576698