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

Issue 2498613003: Add ARC++ kiosk menu items and ability to start kiosk session. (Closed)

Created:
4 years, 1 month ago by Sergey Poromov
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, achuith+watch_chromium.org, khmel+watch_chromium.org, lhchavez+watch_chromium.org, arv+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

Add ARC++ kiosk menu items and ability to start kiosk session. BUG=634497 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/008f8d022c3819474eb845a7099452f8f220cebf Cr-Commit-Position: refs/heads/master@{#432892}

Patch Set 1 #

Total comments: 27

Patch Set 2 : Addressing comments + unit test build fix. #

Total comments: 7

Patch Set 3 : Merge IsRunningInForcedAndroidAppMode() method with IsRunningInForcedAppMode() #

Total comments: 7

Patch Set 4 : oshima@ comments. #

Patch Set 5 : Fix browser_tests. Destroy ArcKioskAppManager later. #

Patch Set 6 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+180 lines, -20 lines) Patch
M ash/common/system/overview/overview_button_tray.cc View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M ash/common/system/tray/system_tray.cc View 1 2 3 1 chunk +5 lines, -2 lines 0 comments Download
M ash/common/wm/overview/window_selector_controller.cc View 1 2 3 1 chunk +7 lines, -5 lines 0 comments Download
M chrome/browser/app_mode/app_mode_utils.cc View 1 2 1 chunk +4 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/arc/arc_auth_service.cc View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/chromeos/chrome_browser_main_chromeos.cc View 1 2 3 4 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/existing_user_controller.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/login/existing_user_controller.cc View 1 3 chunks +15 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/login/session/user_session_manager.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/users/chrome_user_manager_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/login/users/chrome_user_manager_impl.cc View 1 2 2 chunks +21 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/users/mock_user_manager.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager.cc View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/resources/chromeos/login/apps_menu.js View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/kiosk_app_menu_handler.h View 3 chunks +6 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/chromeos/login/kiosk_app_menu_handler.cc View 1 5 chunks +32 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc View 1 2 3 2 chunks +9 lines, -0 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M chromeos/login/auth/authenticator.h View 1 chunk +5 lines, -0 lines 0 comments Download
M chromeos/login/auth/cryptohome_authenticator.h View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M chromeos/login/auth/cryptohome_authenticator.cc View 1 2 1 chunk +16 lines, -0 lines 0 comments Download
M chromeos/login/auth/login_performer.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chromeos/login/auth/login_performer.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M chromeos/login/auth/stub_authenticator.h View 1 chunk +1 line, -0 lines 0 comments Download
M chromeos/login/auth/stub_authenticator.cc View 1 chunk +9 lines, -0 lines 0 comments Download
M components/user_manager/fake_user_manager.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M components/user_manager/user_manager_base.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M components/user_manager/user_manager_base.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 41 (23 generated)
Sergey Poromov
4 years, 1 month ago (2016-11-11 18:36:48 UTC) #3
peletskyi
https://codereview.chromium.org/2498613003/diff/1/chrome/browser/app_mode/app_mode_utils.cc File chrome/browser/app_mode/app_mode_utils.cc (right): https://codereview.chromium.org/2498613003/diff/1/chrome/browser/app_mode/app_mode_utils.cc#newcode58 chrome/browser/app_mode/app_mode_utils.cc:58: base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); Can you try here to ...
4 years, 1 month ago (2016-11-12 16:52:17 UTC) #4
Luis Héctor Chávez
https://codereview.chromium.org/2498613003/diff/1/chrome/browser/app_mode/app_mode_utils.cc File chrome/browser/app_mode/app_mode_utils.cc (right): https://codereview.chromium.org/2498613003/diff/1/chrome/browser/app_mode/app_mode_utils.cc#newcode48 chrome/browser/app_mode/app_mode_utils.cc:48: IsRunningInForcedAppMode(); Do you also want this to include IsRunningInAndroidAppMode? ...
4 years, 1 month ago (2016-11-12 18:03:08 UTC) #5
hidehiko
https://codereview.chromium.org/2498613003/diff/1/chrome/browser/app_mode/app_mode_utils.cc File chrome/browser/app_mode/app_mode_utils.cc (right): https://codereview.chromium.org/2498613003/diff/1/chrome/browser/app_mode/app_mode_utils.cc#newcode57 chrome/browser/app_mode/app_mode_utils.cc:57: bool IsRunningInAndroidAppMode() { Considering the name consistency, IsRunningInForcedAndroidAppMode()? https://codereview.chromium.org/2498613003/diff/1/chrome/browser/app_mode/app_mode_utils.cc#newcode59 ...
4 years, 1 month ago (2016-11-14 05:29:24 UTC) #6
Sergey Poromov
https://codereview.chromium.org/2498613003/diff/1/chrome/browser/app_mode/app_mode_utils.cc File chrome/browser/app_mode/app_mode_utils.cc (right): https://codereview.chromium.org/2498613003/diff/1/chrome/browser/app_mode/app_mode_utils.cc#newcode48 chrome/browser/app_mode/app_mode_utils.cc:48: IsRunningInForcedAppMode(); On 2016/11/12 18:03:08, Luis Héctor Chávez wrote: > ...
4 years, 1 month ago (2016-11-14 17:23:23 UTC) #8
xiyuan
Mostly good. https://codereview.chromium.org/2498613003/diff/1/chrome/browser/app_mode/app_mode_utils.cc File chrome/browser/app_mode/app_mode_utils.cc (right): https://codereview.chromium.org/2498613003/diff/1/chrome/browser/app_mode/app_mode_utils.cc#newcode48 chrome/browser/app_mode/app_mode_utils.cc:48: IsRunningInForcedAppMode(); On 2016/11/14 17:23:22, Sergey Poromov wrote: ...
4 years, 1 month ago (2016-11-15 16:56:25 UTC) #9
Sergey Poromov
Hi all, please review changes in the following files: Nikita: chrome/browser/chromeos/* Xiyuan: chrome/browser/app_mode/* chrome/browser/resources/* chrome/browser/ui/* ...
4 years, 1 month ago (2016-11-15 18:24:04 UTC) #11
Nikita (slow)
On 2016/11/15 18:24:04, Sergey Poromov wrote: > Nikita: > chrome/browser/chromeos/* lgtm
4 years, 1 month ago (2016-11-16 14:37:13 UTC) #12
Nikita (slow)
https://codereview.chromium.org/2498613003/diff/20001/chrome/browser/chromeos/arc/arc_auth_service.cc File chrome/browser/chromeos/arc/arc_auth_service.cc (right): https://codereview.chromium.org/2498613003/diff/20001/chrome/browser/chromeos/arc/arc_auth_service.cc#newcode477 chrome/browser/chromeos/arc/arc_auth_service.cc:477: // Don't show Play Store app for ARC Kiosk ...
4 years, 1 month ago (2016-11-16 14:37:22 UTC) #13
Sergey Poromov
https://codereview.chromium.org/2498613003/diff/20001/chrome/browser/app_mode/app_mode_utils.cc File chrome/browser/app_mode/app_mode_utils.cc (right): https://codereview.chromium.org/2498613003/diff/20001/chrome/browser/app_mode/app_mode_utils.cc#newcode57 chrome/browser/app_mode/app_mode_utils.cc:57: bool IsRunningInForcedAndroidAppMode() { On 2016/11/15 16:56:25, xiyuan wrote: > ...
4 years, 1 month ago (2016-11-16 15:06:21 UTC) #14
xiyuan
lgtm https://codereview.chromium.org/2498613003/diff/20001/chrome/browser/app_mode/app_mode_utils.cc File chrome/browser/app_mode/app_mode_utils.cc (right): https://codereview.chromium.org/2498613003/diff/20001/chrome/browser/app_mode/app_mode_utils.cc#newcode57 chrome/browser/app_mode/app_mode_utils.cc:57: bool IsRunningInForcedAndroidAppMode() { On 2016/11/16 15:06:21, Sergey Poromov ...
4 years, 1 month ago (2016-11-16 17:28:55 UTC) #15
hidehiko
https://codereview.chromium.org/2498613003/diff/40001/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/2498613003/diff/40001/chrome/browser/chromeos/login/users/chrome_user_manager_impl.cc#newcode881 chrome/browser/chromeos/login/users/chrome_user_manager_impl.cc:881: command_line->AppendSwitch(chromeos::switches::kEnableArc); Could you set arc.enabled and arc.terms.accepted preference, too?
4 years, 1 month ago (2016-11-16 18:57:07 UTC) #18
xiyuan
https://codereview.chromium.org/2498613003/diff/40001/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/2498613003/diff/40001/chrome/browser/chromeos/login/users/chrome_user_manager_impl.cc#newcode881 chrome/browser/chromeos/login/users/chrome_user_manager_impl.cc:881: command_line->AppendSwitch(chromeos::switches::kEnableArc); On 2016/11/16 18:57:07, hidehiko wrote: > Could you ...
4 years, 1 month ago (2016-11-16 19:00:17 UTC) #19
oshima
lgtm with nits https://codereview.chromium.org/2498613003/diff/40001/ash/common/system/tray/system_tray.cc File ash/common/system/tray/system_tray.cc (right): https://codereview.chromium.org/2498613003/diff/40001/ash/common/system/tray/system_tray.cc#newcode569 ash/common/system/tray/system_tray.cc:569: if (WmShell::Get()->system_tray_delegate()->GetUserLoginStatus() == nit: please get ...
4 years, 1 month ago (2016-11-16 19:52:36 UTC) #22
Sergey Poromov
https://codereview.chromium.org/2498613003/diff/40001/ash/common/system/tray/system_tray.cc File ash/common/system/tray/system_tray.cc (right): https://codereview.chromium.org/2498613003/diff/40001/ash/common/system/tray/system_tray.cc#newcode569 ash/common/system/tray/system_tray.cc:569: if (WmShell::Get()->system_tray_delegate()->GetUserLoginStatus() == On 2016/11/16 19:52:35, oshima wrote: > ...
4 years, 1 month ago (2016-11-17 12:33:13 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/2498613003/100001
4 years, 1 month ago (2016-11-17 16:26:22 UTC) #38
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 1 month ago (2016-11-17 16:34:49 UTC) #39
commit-bot: I haz the power
4 years, 1 month ago (2016-11-17 16:38:04 UTC) #41
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/008f8d022c3819474eb845a7099452f8f220cebf
Cr-Commit-Position: refs/heads/master@{#432892}

Powered by Google App Engine
This is Rietveld 408576698