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

Issue 2601803003: Introduce kiosk.autolaunched feature session type (Closed)

Created:
3 years, 12 months ago by tbarzic
Modified:
3 years, 11 months ago
Reviewers:
xiyuan, Devlin, achuithb
CC:
chromium-reviews, extensions-reviews_chromium.org, alemate+watch_chromium.org, achuith+watch_chromium.org, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, davemoore+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Introduce kiosk.autolaunched feature session type The session type will be used to restrict extension features to auto-launched kiosk sessions - kiosk session that are launched automatically from the login screen, without user interaction. To be able properly est auto launched flag, browser process feature session type initialization is moved to AppLaunchController, class which controls kiosk app launch. Also, move browser process feature session type initialization from ChromeUserManager::UpdateLoginState to UserSessionManager::PerformPostUserLoggedInActions (for regular users), which seems like a more suitable place. BUG=676213 Review-Url: https://codereview.chromium.org/2601803003 Cr-Commit-Position: refs/heads/master@{#442667} Committed: https://chromium.googlesource.com/chromium/src/+/5babfd313562ebd60a9a7910912a764bed6d63c0

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : . #

Patch Set 5 : . #

Total comments: 8

Patch Set 6 : . #

Total comments: 10

Patch Set 7 : . #

Total comments: 4

Patch Set 8 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+161 lines, -56 lines) Patch
M chrome/browser/chromeos/login/app_launch_controller.cc View 1 2 2 chunks +14 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/login/session/user_session_manager.h View 1 2 3 4 5 6 7 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/session/user_session_manager.cc View 1 2 3 4 5 6 7 3 chunks +28 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/users/chrome_user_manager_impl.cc View 1 2 3 4 5 6 7 3 chunks +0 lines, -20 lines 0 comments Download
M chrome/common/extensions/api/_features.md View 1 2 3 4 5 6 1 chunk +14 lines, -2 lines 0 comments Download
M chrome/common/extensions/api/common_extension_api_unittest.cc View 3 chunks +31 lines, -5 lines 0 comments Download
M chrome/test/data/extensions/extension_api_unittest/api_features.json View 1 chunk +5 lines, -0 lines 0 comments Download
M extensions/common/features/feature_session_type.h View 2 chunks +5 lines, -2 lines 0 comments Download
M extensions/common/features/simple_feature.h View 1 chunk +4 lines, -0 lines 0 comments Download
M extensions/common/features/simple_feature.cc View 1 2 3 4 5 6 7 4 chunks +22 lines, -9 lines 0 comments Download
M extensions/common/features/simple_feature_unittest.cc View 2 chunks +17 lines, -1 line 0 comments Download
M extensions/common/permissions/usb_device_permission_unittest.cc View 12 chunks +12 lines, -12 lines 0 comments Download
M tools/json_schema_compiler/feature_compiler.py View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 34 (21 generated)
tbarzic
alemate - for chrome/browser/chromeos/login pieces rdevlin.cronin - for extensions pieces
3 years, 11 months ago (2016-12-29 00:46:08 UTC) #11
Devlin
This largely looks okay, but I'm curious about the long-term vision here. Is there a ...
3 years, 11 months ago (2016-12-29 17:15:37 UTC) #12
tbarzic
Long-term vision for what? New feature properties? I don't expect to be adding any new ...
3 years, 11 months ago (2016-12-29 20:29:58 UTC) #13
tbarzic
s/alemate/xiyuan for review of login parts
3 years, 11 months ago (2017-01-03 19:13:14 UTC) #15
xiyuan
login parts lgtm
3 years, 11 months ago (2017-01-03 21:16:12 UTC) #16
achuithb
Also lgtm https://codereview.chromium.org/2601803003/diff/100001/chrome/browser/chromeos/login/session/user_session_manager.cc File chrome/browser/chromeos/login/session/user_session_manager.cc (right): https://codereview.chromium.org/2601803003/diff/100001/chrome/browser/chromeos/login/session/user_session_manager.cc#newcode586 chrome/browser/chromeos/login/session/user_session_manager.cc:586: // kiosk app profile would alredy be ...
3 years, 11 months ago (2017-01-04 23:25:31 UTC) #19
tbarzic
https://codereview.chromium.org/2601803003/diff/100001/chrome/browser/chromeos/login/session/user_session_manager.cc File chrome/browser/chromeos/login/session/user_session_manager.cc (right): https://codereview.chromium.org/2601803003/diff/100001/chrome/browser/chromeos/login/session/user_session_manager.cc#newcode586 chrome/browser/chromeos/login/session/user_session_manager.cc:586: // kiosk app profile would alredy be initialized - ...
3 years, 11 months ago (2017-01-04 23:39:48 UTC) #20
Devlin
On 2016/12/29 20:29:58, tbarzic wrote: > Long-term vision for what? New feature properties? I don't ...
3 years, 11 months ago (2017-01-06 20:55:28 UTC) #21
tbarzic
On 2017/01/06 20:55:28, Devlin wrote: > On 2016/12/29 20:29:58, tbarzic wrote: > > Long-term vision ...
3 years, 11 months ago (2017-01-06 21:21:01 UTC) #22
Devlin
extensions lgtm https://codereview.chromium.org/2601803003/diff/120001/extensions/common/features/feature_session_type.cc File extensions/common/features/feature_session_type.cc (left): https://codereview.chromium.org/2601803003/diff/120001/extensions/common/features/feature_session_type.cc#oldcode34 extensions/common/features/feature_session_type.cc:34: CHECK_EQ(g_current_session_type, kDefaultSessionType); Why this change? If it's ...
3 years, 11 months ago (2017-01-09 23:34:25 UTC) #23
tbarzic
https://codereview.chromium.org/2601803003/diff/120001/extensions/common/features/feature_session_type.cc File extensions/common/features/feature_session_type.cc (left): https://codereview.chromium.org/2601803003/diff/120001/extensions/common/features/feature_session_type.cc#oldcode34 extensions/common/features/feature_session_type.cc:34: CHECK_EQ(g_current_session_type, kDefaultSessionType); On 2017/01/09 23:34:25, Devlin wrote: > Why ...
3 years, 11 months ago (2017-01-10 18:28:45 UTC) #26
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/2601803003/140001
3 years, 11 months ago (2017-01-10 20:08:10 UTC) #31
commit-bot: I haz the power
3 years, 11 months ago (2017-01-10 20:13:53 UTC) #34
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://chromium.googlesource.com/chromium/src/+/5babfd313562ebd60a9a7910912a...

Powered by Google App Engine
This is Rietveld 408576698