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

Issue 900553006: Updated KioskAppManager to track whether an app was auto-launched. (Closed)

Created:
5 years, 10 months ago by Andrew T Wilson (Slow)
Modified:
5 years, 10 months ago
CC:
chromium-reviews, dzhioev+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, oshima+watch_chromium.org, nkostylev+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Updated KioskAppManager to track whether an app was auto-launched. We want to restrict certain behavior (such as network reporting) to auto-launched kiosk apps. This change updates KioskAppManager to track whether a given app was auto-launched (which is different from whether a given app is *currently* set to auto-launch, because policies can change while an app is running). BUG=452968 Committed: https://crrev.com/6340b5d595dd1e63c96f4c0c7192c408b05dce12 Cr-Commit-Position: refs/heads/master@{#315110}

Patch Set 1 #

Patch Set 2 : Added more test coverage. #

Patch Set 3 : Comment cleanup #

Total comments: 13

Patch Set 4 : Addressed review comments. #

Total comments: 24

Patch Set 5 : Review feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+101 lines, -21 lines) Patch
M chrome/browser/chromeos/app_mode/kiosk_app_manager.h View 1 2 3 4 5 chunks +14 lines, -1 line 0 comments Download
M chrome/browser/chromeos/app_mode/kiosk_app_manager.cc View 1 2 3 4 4 chunks +21 lines, -6 lines 0 comments Download
M chrome/browser/chromeos/app_mode/kiosk_app_manager_browsertest.cc View 1 2 3 4 1 chunk +15 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/app_launch_controller.h View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/app_launch_controller.cc View 1 2 3 3 chunks +16 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/existing_user_controller.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/kiosk_browsertest.cc View 1 2 3 4 3 chunks +9 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/login/ui/login_display_host.h View 1 2 3 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/login/ui/login_display_host_impl.h View 1 2 3 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/ui/login_display_host_impl.cc View 1 2 3 4 4 chunks +9 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/login/ui/mock_login_display_host.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/login/wizard_controller.cc View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 16 (5 generated)
Andrew T Wilson (Slow)
PTAL
5 years, 10 months ago (2015-02-04 13:28:52 UTC) #2
bartfab (slow)
https://codereview.chromium.org/900553006/diff/40001/chrome/browser/chromeos/app_mode/kiosk_app_manager.cc File chrome/browser/chromeos/app_mode/kiosk_app_manager.cc (right): https://codereview.chromium.org/900553006/diff/40001/chrome/browser/chromeos/app_mode/kiosk_app_manager.cc#newcode137 chrome/browser/chromeos/app_mode/kiosk_app_manager.cc:137: DCHECK_EQ(app_id, auto_launch_app_id_); Nit: Expected value first, actual value second. ...
5 years, 10 months ago (2015-02-06 12:07:39 UTC) #3
Andrew T Wilson (Slow)
bartfab: PTAL dpolukhin: can I get your owners rubberstamp? https://codereview.chromium.org/900553006/diff/40001/chrome/browser/chromeos/app_mode/kiosk_app_manager.cc File chrome/browser/chromeos/app_mode/kiosk_app_manager.cc (right): https://codereview.chromium.org/900553006/diff/40001/chrome/browser/chromeos/app_mode/kiosk_app_manager.cc#newcode137 chrome/browser/chromeos/app_mode/kiosk_app_manager.cc:137: ...
5 years, 10 months ago (2015-02-06 13:24:21 UTC) #5
Andrew T Wilson (Slow)
Or, xiyuan can you owner-stamp in case Dmitry doesn't get to it?
5 years, 10 months ago (2015-02-06 13:34:34 UTC) #7
Dmitry Polukhin
lgtm https://codereview.chromium.org/900553006/diff/60001/chrome/browser/chromeos/login/existing_user_controller.cc File chrome/browser/chromeos/login/existing_user_controller.cc (right): https://codereview.chromium.org/900553006/diff/60001/chrome/browser/chromeos/login/existing_user_controller.cc#newcode926 chrome/browser/chromeos/login/existing_user_controller.cc:926: host_->StartAppLaunch(app_id, diagnostic_mode, false /* auto_start */); Nit, I ...
5 years, 10 months ago (2015-02-06 13:41:32 UTC) #8
bartfab (slow)
lgtm https://codereview.chromium.org/900553006/diff/60001/chrome/browser/chromeos/app_mode/kiosk_app_manager.cc File chrome/browser/chromeos/app_mode/kiosk_app_manager.cc (right): https://codereview.chromium.org/900553006/diff/60001/chrome/browser/chromeos/app_mode/kiosk_app_manager.cc#newcode104 chrome/browser/chromeos/app_mode/kiosk_app_manager.cc:104: const KioskAppData& data, bool is_extension_pending, Nit: The style ...
5 years, 10 months ago (2015-02-06 14:14:08 UTC) #9
xiyuan
lgtm
5 years, 10 months ago (2015-02-06 16:56:35 UTC) #10
Andrew T Wilson (Slow)
https://codereview.chromium.org/900553006/diff/60001/chrome/browser/chromeos/app_mode/kiosk_app_manager.cc File chrome/browser/chromeos/app_mode/kiosk_app_manager.cc (right): https://codereview.chromium.org/900553006/diff/60001/chrome/browser/chromeos/app_mode/kiosk_app_manager.cc#newcode104 chrome/browser/chromeos/app_mode/kiosk_app_manager.cc:104: const KioskAppData& data, bool is_extension_pending, On 2015/02/06 14:14:07, bartfab ...
5 years, 10 months ago (2015-02-06 20:43:50 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/900553006/80001
5 years, 10 months ago (2015-02-06 20:45:09 UTC) #14
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 10 months ago (2015-02-06 21:31:44 UTC) #15
commit-bot: I haz the power
5 years, 10 months ago (2015-02-06 21:32:37 UTC) #16
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/6340b5d595dd1e63c96f4c0c7192c408b05dce12
Cr-Commit-Position: refs/heads/master@{#315110}

Powered by Google App Engine
This is Rietveld 408576698