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

Issue 2662113002: When restoring kiosk app after crash, skip app installation steps (Closed)

Created:
3 years, 10 months ago by tbarzic
Modified:
3 years, 10 months ago
CC:
chromium-reviews, alemate+watch_chromium.org, achuith+watch_chromium.org, oshima+watch_chromium.org, davemoore+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

When restoring kiosk app after crash, skip app installation steps. Installed apps should already be restored as part of starting crash recovery session. During crash recovery, StartupAppLauncher::Delegate always reports network as ready, so it cannot be determined whether the network is truly available - if it's not update checks will take ~30 minutes to fail, during which there will be no UI shown (as there is no login UI in this case). Additionally, it would be unexpected for the app to recover to updated version after a Chroem crash. BUG=686846 Review-Url: https://codereview.chromium.org/2662113002 Cr-Commit-Position: refs/heads/master@{#447127} Committed: https://chromium.googlesource.com/chromium/src/+/6394703fb6ccb291ae4afce516471a1b6d76c3db

Patch Set 1 #

Total comments: 5

Patch Set 2 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -9 lines) Patch
M chrome/browser/chromeos/app_mode/app_launch_utils.cc View 1 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/app_mode/startup_app_launcher.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/app_mode/startup_app_launcher.cc View 1 3 chunks +30 lines, -9 lines 0 comments Download
M chrome/browser/chromeos/login/app_launch_controller.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/login/app_launch_controller.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (14 generated)
tbarzic
3 years, 10 months ago (2017-01-30 22:51:08 UTC) #2
tbarzic
3 years, 10 months ago (2017-01-30 22:51:27 UTC) #4
xiyuan
https://codereview.chromium.org/2662113002/diff/1/chrome/browser/chromeos/app_mode/startup_app_launcher.cc File chrome/browser/chromeos/app_mode/startup_app_launcher.cc (right): https://codereview.chromium.org/2662113002/diff/1/chrome/browser/chromeos/app_mode/startup_app_launcher.cc#newcode105 chrome/browser/chromeos/app_mode/startup_app_launcher.cc:105: BeginInstall(); Should we skip all installation stuff and jump ...
3 years, 10 months ago (2017-01-30 23:13:06 UTC) #7
tbarzic
https://codereview.chromium.org/2662113002/diff/1/chrome/browser/chromeos/app_mode/startup_app_launcher.cc File chrome/browser/chromeos/app_mode/startup_app_launcher.cc (right): https://codereview.chromium.org/2662113002/diff/1/chrome/browser/chromeos/app_mode/startup_app_launcher.cc#newcode105 chrome/browser/chromeos/app_mode/startup_app_launcher.cc:105: BeginInstall(); On 2017/01/30 23:13:06, xiyuan wrote: > Should we ...
3 years, 10 months ago (2017-01-30 23:45:21 UTC) #10
xiyuan
lgtm https://codereview.chromium.org/2662113002/diff/1/chrome/browser/chromeos/app_mode/startup_app_launcher.cc File chrome/browser/chromeos/app_mode/startup_app_launcher.cc (right): https://codereview.chromium.org/2662113002/diff/1/chrome/browser/chromeos/app_mode/startup_app_launcher.cc#newcode105 chrome/browser/chromeos/app_mode/startup_app_launcher.cc:105: BeginInstall(); On 2017/01/30 23:45:21, tbarzic wrote: > On ...
3 years, 10 months ago (2017-01-30 23:49:44 UTC) #13
tbarzic
https://codereview.chromium.org/2662113002/diff/1/chrome/browser/chromeos/app_mode/startup_app_launcher.cc File chrome/browser/chromeos/app_mode/startup_app_launcher.cc (right): https://codereview.chromium.org/2662113002/diff/1/chrome/browser/chromeos/app_mode/startup_app_launcher.cc#newcode105 chrome/browser/chromeos/app_mode/startup_app_launcher.cc:105: BeginInstall(); On 2017/01/30 23:49:44, xiyuan wrote: > On 2017/01/30 ...
3 years, 10 months ago (2017-01-30 23:55:02 UTC) #14
xiyuan
lgtm https://codereview.chromium.org/2662113002/diff/1/chrome/browser/chromeos/app_mode/startup_app_launcher.cc File chrome/browser/chromeos/app_mode/startup_app_launcher.cc (right): https://codereview.chromium.org/2662113002/diff/1/chrome/browser/chromeos/app_mode/startup_app_launcher.cc#newcode105 chrome/browser/chromeos/app_mode/startup_app_launcher.cc:105: BeginInstall(); On 2017/01/30 23:55:02, tbarzic wrote: > On ...
3 years, 10 months ago (2017-01-30 23:59:48 UTC) #15
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/2662113002/20001
3 years, 10 months ago (2017-01-31 00:23:09 UTC) #20
commit-bot: I haz the power
3 years, 10 months ago (2017-01-31 00:27:53 UTC) #23
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/6394703fb6ccb291ae4afce51647...

Powered by Google App Engine
This is Rietveld 408576698