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

Issue 1488393002: Check import module update before launching the primary kiosk app. (Closed)

Created:
5 years ago by jennyz
Modified:
5 years ago
Reviewers:
xiyuan
CC:
chromium-reviews, extensions-reviews_chromium.org, dzhioev+watch_chromium.org, achuith+watch_chromium.org, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, 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

Check import module update before launching the primary kiosk app. Add a test case for verifying launching app with updating a shared module to the new version. Re-packaged several testing apps downloaded from webstore to remove the update url from their manifest files. BUG=555083 Committed: https://crrev.com/bb7ef8a93d64d6d3c23edb5095db8a441f1b5b7c Cr-Commit-Position: refs/heads/master@{#363038}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Fix browser tests and address code review commnents. #

Total comments: 7

Patch Set 3 : Fix nits. #

Patch Set 4 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+343 lines, -78 lines) Patch
M chrome/browser/chromeos/app_mode/fake_cws.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/app_mode/startup_app_launcher.h View 4 chunks +19 lines, -6 lines 0 comments Download
M chrome/browser/chromeos/app_mode/startup_app_launcher.cc View 1 2 5 chunks +59 lines, -11 lines 0 comments Download
M chrome/browser/chromeos/login/kiosk_browsertest.cc View 1 13 chunks +116 lines, -53 lines 0 comments Download
A chrome/test/data/chromeos/app_mode/multi_app_kiosk/src/primary_app/key.pem View 1 chunk +28 lines, -0 lines 0 comments Download
M chrome/test/data/chromeos/app_mode/multi_app_kiosk/src/primary_app/v1/manifest.json View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/test/data/chromeos/app_mode/multi_app_kiosk/src/primary_app/v2/manifest.json View 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/chromeos/app_mode/multi_app_kiosk/src/primary_app/v24/manifest.json View 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/chromeos/app_mode/multi_app_kiosk/src/primary_app/v3/manifest.json View 1 chunk +3 lines, -3 lines 0 comments Download
A chrome/test/data/chromeos/app_mode/multi_app_kiosk/src/secondary_app_1/key.pem View 1 chunk +28 lines, -0 lines 0 comments Download
A chrome/test/data/chromeos/app_mode/multi_app_kiosk/src/secondary_app_2/key.pem View 1 chunk +28 lines, -0 lines 0 comments Download
A chrome/test/data/chromeos/app_mode/multi_app_kiosk/src/secondary_app_3/key.pem View 1 chunk +28 lines, -0 lines 0 comments Download
A chrome/test/data/chromeos/app_mode/multi_app_kiosk/src/secondary_extension_1/key.pem View 1 chunk +28 lines, -0 lines 0 comments Download
M chrome/test/data/chromeos/app_mode/multi_app_kiosk/src/secondary_extension_1/manifest.json View 1 chunk +0 lines, -1 line 0 comments Download
A + chrome/test/data/chromeos/app_mode/multi_app_kiosk/src/shared_module/v2/manifest.json View 1 chunk +1 line, -1 line 0 comments Download
A + chrome/test/data/chromeos/app_mode/multi_app_kiosk/src/shared_module/v2/pass.js View 0 chunks +-1 lines, --1 lines 0 comments Download
D chrome/test/data/chromeos/app_mode/webstore/downloads/aabnpdpieclcikafhdkkpldcaodmfoai-1.0.0.crx View Binary file 0 comments Download
A chrome/test/data/chromeos/app_mode/webstore/downloads/biebhpdepndljbnkadldcbjkiedldnmn-2.0.0.crx View Binary file 0 comments Download
A chrome/test/data/chromeos/app_mode/webstore/downloads/blmjgfbajihimkjmepbhgmjbopjchlda-1.0.0.crx View Binary file 0 comments Download
D chrome/test/data/chromeos/app_mode/webstore/downloads/ceobkcclegcliomogfoeoheahogoecgl-1.0.0.crx View Binary file 0 comments Download
D chrome/test/data/chromeos/app_mode/webstore/downloads/ceobkcclegcliomogfoeoheahogoecgl-2.0.0-1app.crx View Binary file 0 comments Download
D chrome/test/data/chromeos/app_mode/webstore/downloads/ceobkcclegcliomogfoeoheahogoecgl-24.0.0.crx View Binary file 0 comments Download
D chrome/test/data/chromeos/app_mode/webstore/downloads/ceobkcclegcliomogfoeoheahogoecgl-3.0.0-3app.crx View Binary file 0 comments Download
A chrome/test/data/chromeos/app_mode/webstore/downloads/dpejijbnadgcgmabkmcoajkgongfgnii-1.0.0.crx View Binary file 0 comments Download
A chrome/test/data/chromeos/app_mode/webstore/downloads/dpejijbnadgcgmabkmcoajkgongfgnii-2.0.0.crx View Binary file 0 comments Download
A chrome/test/data/chromeos/app_mode/webstore/downloads/dpejijbnadgcgmabkmcoajkgongfgnii-24.0.0.crx View Binary file 0 comments Download
A chrome/test/data/chromeos/app_mode/webstore/downloads/dpejijbnadgcgmabkmcoajkgongfgnii-3.0.0.crx View Binary file 0 comments Download
A chrome/test/data/chromeos/app_mode/webstore/downloads/emnbflhfbllbehnpjmjddklbkeeoaaeg-1.0.0.crx View Binary file 0 comments Download
D chrome/test/data/chromeos/app_mode/webstore/downloads/fiehokkcgaojmbhfhlpiheggjhaedjoc-1.0.0.crx View Binary file 0 comments Download
A chrome/test/data/chromeos/app_mode/webstore/downloads/gdmgkkoghcihimdfoabkefdkccllcfea-1.0.0.crx View Binary file 0 comments Download
D chrome/test/data/chromeos/app_mode/webstore/downloads/ihplaomghjbeafnpnjkhppmfpnmdihgd-1.0.0.crx View Binary file 0 comments Download
D chrome/test/data/chromeos/app_mode/webstore/downloads/imlgadjgphbjkaceoiapiephhgeofhic-1.0.0.crx View Binary file 0 comments Download
A chrome/test/data/chromeos/app_mode/webstore/downloads/jkofhenkpndpdflehcjpcekgecjkpggg-1.0.0.crx View Binary file 0 comments Download

Messages

Total messages: 23 (10 generated)
jennyz
5 years ago (2015-12-02 01:28:45 UTC) #3
xiyuan
https://codereview.chromium.org/1488393002/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/1488393002/diff/1/chrome/browser/chromeos/app_mode/startup_app_launcher.cc#newcode288 chrome/browser/chromeos/app_mode/startup_app_launcher.cc:288: content::NotificationService::AllSources()); Move line 286-287 before updater->CheckNow() call, just in ...
5 years ago (2015-12-02 21:04:21 UTC) #4
jennyz
https://codereview.chromium.org/1488393002/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/1488393002/diff/1/chrome/browser/chromeos/app_mode/startup_app_launcher.cc#newcode288 chrome/browser/chromeos/app_mode/startup_app_launcher.cc:288: content::NotificationService::AllSources()); On 2015/12/02 21:04:20, xiyuan wrote: > Move line ...
5 years ago (2015-12-03 00:27:55 UTC) #5
xiyuan
Mostly good. https://codereview.chromium.org/1488393002/diff/20001/chrome/browser/chromeos/app_mode/fake_cws.cc File chrome/browser/chromeos/app_mode/fake_cws.cc (right): https://codereview.chromium.org/1488393002/diff/20001/chrome/browser/chromeos/app_mode/fake_cws.cc#newcode100 chrome/browser/chromeos/app_mode/fake_cws.cc:100: update_url.spec()); OverrideGalleryCommandlineSwitches() does this too. Can we ...
5 years ago (2015-12-03 00:46:53 UTC) #6
jennyz
https://codereview.chromium.org/1488393002/diff/20001/chrome/browser/chromeos/app_mode/fake_cws.cc File chrome/browser/chromeos/app_mode/fake_cws.cc (right): https://codereview.chromium.org/1488393002/diff/20001/chrome/browser/chromeos/app_mode/fake_cws.cc#newcode100 chrome/browser/chromeos/app_mode/fake_cws.cc:100: update_url.spec()); On 2015/12/03 00:46:53, xiyuan wrote: > OverrideGalleryCommandlineSwitches() does ...
5 years ago (2015-12-03 01:23:47 UTC) #7
xiyuan
lgtm https://codereview.chromium.org/1488393002/diff/20001/chrome/browser/chromeos/login/kiosk_browsertest.cc File chrome/browser/chromeos/login/kiosk_browsertest.cc (right): https://codereview.chromium.org/1488393002/diff/20001/chrome/browser/chromeos/login/kiosk_browsertest.cc#newcode542 chrome/browser/chromeos/login/kiosk_browsertest.cc:542: &extension_cache_dir)); On 2015/12/03 01:23:47, jennyz wrote: > On ...
5 years ago (2015-12-03 03:05:38 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1488393002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1488393002/40001
5 years ago (2015-12-03 04:26:48 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/102277)
5 years ago (2015-12-03 06:41:36 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1488393002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1488393002/40001
5 years ago (2015-12-03 08:10:58 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/102389)
5 years ago (2015-12-03 10:15:05 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1488393002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1488393002/60001
5 years ago (2015-12-03 18:28:49 UTC) #19
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years ago (2015-12-03 20:07:21 UTC) #21
commit-bot: I haz the power
5 years ago (2015-12-03 20:08:10 UTC) #23
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/bb7ef8a93d64d6d3c23edb5095db8a441f1b5b7c
Cr-Commit-Position: refs/heads/master@{#363038}

Powered by Google App Engine
This is Rietveld 408576698