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

Issue 2671463002: Support new --arc-availability flag. (Closed)

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

Description

Support new --arc-availability flag. Current we have two flags, --enable-arc and --arc-available, but there are two problems. - "enable" is conflicting word in ARC. It is also used in preference, and meaning is actually different. - Technically, --enable-arc without --arc-available is possible, but we expect the flags are tri state, no flags, only --arc-available, or both --enable-arc and --arc-available. To reduce the complexity, we switch to unified flag --arc-availability. BUG=b/34480289 TEST=Ran trybots. Review-Url: https://codereview.chromium.org/2671463002 Cr-Commit-Position: refs/heads/master@{#448551} Committed: https://chromium.googlesource.com/chromium/src/+/a53c2b460b8cbf587e4ba1abd7262297565d2eae

Patch Set 1 #

Total comments: 6

Patch Set 2 : Address comments. #

Total comments: 3

Patch Set 3 : Address comments. #

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -9 lines) Patch
M chrome/browser/chromeos/login/chrome_restart_request.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/login/users/chrome_user_manager_impl.cc View 1 2 1 chunk +7 lines, -1 line 0 comments Download
M chromeos/chromeos_switches.h View 1 chunk +1 line, -0 lines 0 comments Download
M chromeos/chromeos_switches.cc View 1 2 2 chunks +11 lines, -0 lines 0 comments Download
M components/arc/arc_util.cc View 1 2 2 chunks +27 lines, -7 lines 0 comments Download
M components/arc/arc_util_unittest.cc View 1 2 2 chunks +34 lines, -1 line 0 comments Download

Messages

Total messages: 25 (15 generated)
hidehiko
PTAL.
3 years, 10 months ago (2017-02-01 06:51:45 UTC) #6
hidehiko
friendly ping?
3 years, 10 months ago (2017-02-02 08:58:44 UTC) #7
Yusuke Sato
Sorry for the delay. https://codereview.chromium.org/2671463002/diff/1/chrome/browser/chromeos/login/users/chrome_user_manager_impl.cc File chrome/browser/chromeos/login/users/chrome_user_manager_impl.cc (right): https://codereview.chromium.org/2671463002/diff/1/chrome/browser/chromeos/login/users/chrome_user_manager_impl.cc#newcode883 chrome/browser/chromeos/login/users/chrome_user_manager_impl.cc:883: // This works partially, because ...
3 years, 10 months ago (2017-02-02 18:14:06 UTC) #8
hidehiko
Thank you for review, Yusuke. PTAL. Xiyuan, PTAL for c/b/c/login? https://codereview.chromium.org/2671463002/diff/1/chrome/browser/chromeos/login/users/chrome_user_manager_impl.cc File chrome/browser/chromeos/login/users/chrome_user_manager_impl.cc (right): https://codereview.chromium.org/2671463002/diff/1/chrome/browser/chromeos/login/users/chrome_user_manager_impl.cc#newcode883 ...
3 years, 10 months ago (2017-02-03 15:37:42 UTC) #10
Yusuke Sato
lgtm with one more comment here and another at b/34480289#comment9. https://codereview.chromium.org/2671463002/diff/20001/chrome/browser/chromeos/login/users/chrome_user_manager_impl.cc File chrome/browser/chromeos/login/users/chrome_user_manager_impl.cc (right): https://codereview.chromium.org/2671463002/diff/20001/chrome/browser/chromeos/login/users/chrome_user_manager_impl.cc#newcode884 ...
3 years, 10 months ago (2017-02-03 19:19:02 UTC) #11
xiyuan
lgtm Please make sure poromov@ is aware of the TODO in ArcKioskAppLoggedIn.
3 years, 10 months ago (2017-02-03 22:35:17 UTC) #12
Sergey Poromov
https://codereview.chromium.org/2671463002/diff/20001/chrome/browser/chromeos/login/users/chrome_user_manager_impl.cc File chrome/browser/chromeos/login/users/chrome_user_manager_impl.cc (right): https://codereview.chromium.org/2671463002/diff/20001/chrome/browser/chromeos/login/users/chrome_user_manager_impl.cc#newcode884 chrome/browser/chromeos/login/users/chrome_user_manager_impl.cc:884: // before Kiosk log-in does not work. On 2017/02/03 ...
3 years, 10 months ago (2017-02-03 22:58:57 UTC) #14
hidehiko
As for naming, I changed the value to officially-supported as we agreed on the bug. ...
3 years, 10 months ago (2017-02-07 04:50:50 UTC) #19
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/2671463002/60001
3 years, 10 months ago (2017-02-07 04:51:15 UTC) #22
commit-bot: I haz the power
3 years, 10 months ago (2017-02-07 04:56:34 UTC) #25
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/a53c2b460b8cbf587e4ba1abd726...

Powered by Google App Engine
This is Rietveld 408576698