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

Issue 491403003: Update cached kiosk app crx from usb stick. (Closed)

Created:
6 years, 4 months ago by jennyz
Modified:
6 years, 3 months ago
Reviewers:
xiyuan
CC:
chromium-reviews, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, oshima+watch_chromium.org, nkostylev+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

Update cached kiosk app crx from usb stick. BUG=372857 Committed: https://crrev.com/ce634e9b901c485341182c546dd4d4c07bc59f5a Cr-Commit-Position: refs/heads/master@{#292758}

Patch Set 1 #

Total comments: 23

Patch Set 2 : Rebase. #

Patch Set 3 : Rebase and remove unused includes. #

Patch Set 4 : Remove the refcounted implementation KioskExternalUpdater. #

Total comments: 38

Patch Set 5 : Install external crx using LocalExtensionCache::PutExtension, and address other code review comment… #

Total comments: 4

Patch Set 6 : Rebase. #

Patch Set 7 : Add back InformOwnerForDismiss in KioskExternalUpdateNotificationView. #

Total comments: 2

Patch Set 8 : Minor optimization in test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1330 lines, -13 lines) Patch
M chrome/app/chromeos_strings.grdp View 1 2 3 4 5 1 chunk +36 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/app_mode/app_session_lifetime.cc View 1 2 3 4 5 6 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/app_mode/kiosk_app_manager.h View 1 2 3 4 6 chunks +26 lines, -6 lines 0 comments Download
M chrome/browser/chromeos/app_mode/kiosk_app_manager.cc View 1 2 3 4 5 6 7 chunks +36 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/app_mode/kiosk_app_manager_observer.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/app_mode/kiosk_app_update_service.h View 3 chunks +6 lines, -1 line 0 comments Download
M chrome/browser/chromeos/app_mode/kiosk_app_update_service.cc View 1 2 3 3 chunks +17 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/app_mode/kiosk_external_update_validator.h View 1 2 3 4 1 chunk +77 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/app_mode/kiosk_external_update_validator.cc View 1 2 3 4 1 chunk +87 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/app_mode/kiosk_external_updater.h View 1 2 3 4 1 chunk +149 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/app_mode/kiosk_external_updater.cc View 1 2 3 4 5 6 1 chunk +517 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/extensions/external_cache.h View 1 2 3 4 3 chunks +17 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/extensions/external_cache.cc View 1 2 3 4 5 2 chunks +24 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/kiosk_browsertest.cc View 1 2 3 4 5 6 7 9 chunks +122 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/ui/kiosk_external_update_notification.h View 1 2 3 4 5 6 1 chunk +35 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/ui/kiosk_external_update_notification.cc View 1 2 3 4 5 6 1 chunk +157 lines, -0 lines 0 comments Download
M chrome/chrome_browser_chromeos.gypi View 1 2 3 4 5 6 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
A + chrome/test/data/chromeos/app_mode/external_update/ajoggoflpgplnnjkjamcmbepjdjdnpdp-2.0.0.crx View Binary file 0 comments Download
A chrome/test/data/chromeos/app_mode/external_update/external_update.json View 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (1 generated)
jennyz
I only had one simple pass thru browser test for the successful usb stick update ...
6 years, 4 months ago (2014-08-21 22:33:20 UTC) #1
xiyuan
Rough thoughts of getting rid of ref-counting for the updater. Let's sync up and discuss ...
6 years, 4 months ago (2014-08-23 18:11:58 UTC) #2
jennyz
https://codereview.chromium.org/491403003/diff/1/chrome/browser/chromeos/app_mode/kiosk_app_manager.cc File chrome/browser/chromeos/app_mode/kiosk_app_manager.cc (right): https://codereview.chromium.org/491403003/diff/1/chrome/browser/chromeos/app_mode/kiosk_app_manager.cc#newcode78 chrome/browser/chromeos/app_mode/kiosk_app_manager.cc:78: const char KioskAppManager::kCrxUnpackDir[] = "kiosk/unpack"; On 2014/08/23 18:11:57, xiyuan ...
6 years, 3 months ago (2014-08-27 00:58:42 UTC) #3
xiyuan
https://codereview.chromium.org/491403003/diff/60001/chrome/browser/chromeos/app_mode/kiosk_external_update_validator.cc File chrome/browser/chromeos/app_mode/kiosk_external_update_validator.cc (right): https://codereview.chromium.org/491403003/diff/60001/chrome/browser/chromeos/app_mode/kiosk_external_update_validator.cc#newcode71 chrome/browser/chromeos/app_mode/kiosk_external_update_validator.cc:71: LOG(ERROR) << "Can't find minimum browser version for app ...
6 years, 3 months ago (2014-08-27 16:17:04 UTC) #4
jennyz
Patchset #5 (id:80001) has been deleted
6 years, 3 months ago (2014-08-28 22:27:44 UTC) #5
jennyz
Patchset #5 (id:100001) has been deleted
6 years, 3 months ago (2014-08-28 22:37:25 UTC) #6
jennyz
https://codereview.chromium.org/491403003/diff/60001/chrome/browser/chromeos/app_mode/kiosk_external_update_validator.cc File chrome/browser/chromeos/app_mode/kiosk_external_update_validator.cc (right): https://codereview.chromium.org/491403003/diff/60001/chrome/browser/chromeos/app_mode/kiosk_external_update_validator.cc#newcode71 chrome/browser/chromeos/app_mode/kiosk_external_update_validator.cc:71: LOG(ERROR) << "Can't find minimum browser version for app ...
6 years, 3 months ago (2014-08-28 22:41:07 UTC) #7
xiyuan
Mostly good. https://codereview.chromium.org/491403003/diff/60001/chrome/browser/chromeos/ui/kiosk_external_update_notification.cc File chrome/browser/chromeos/ui/kiosk_external_update_notification.cc (right): https://codereview.chromium.org/491403003/diff/60001/chrome/browser/chromeos/ui/kiosk_external_update_notification.cc#newcode58 chrome/browser/chromeos/ui/kiosk_external_update_notification.cc:58: InformOwnerForDismiss(); On 2014/08/28 22:41:07, jennyz wrote: > ...
6 years, 3 months ago (2014-08-29 02:44:18 UTC) #8
jennyz
Most changes are from Rebase, only one for this patch is in kiosk_external_cache.cc and kiosk_external_update_notification.cc/h. ...
6 years, 3 months ago (2014-08-29 18:37:51 UTC) #9
xiyuan
lgtm https://codereview.chromium.org/491403003/diff/160001/chrome/browser/chromeos/login/kiosk_browsertest.cc File chrome/browser/chromeos/login/kiosk_browsertest.cc (right): https://codereview.chromium.org/491403003/diff/160001/chrome/browser/chromeos/login/kiosk_browsertest.cc#newcode1235 chrome/browser/chromeos/login/kiosk_browsertest.cc:1235: IN_PROC_BROWSER_TEST_F(KioskUpdateTest, PRE_PRE_UsbStickUpdateAppNoNetwork) { Can we use PreCacheAndLaunchApp in ...
6 years, 3 months ago (2014-08-29 18:44:01 UTC) #10
jennyz
https://codereview.chromium.org/491403003/diff/160001/chrome/browser/chromeos/login/kiosk_browsertest.cc File chrome/browser/chromeos/login/kiosk_browsertest.cc (right): https://codereview.chromium.org/491403003/diff/160001/chrome/browser/chromeos/login/kiosk_browsertest.cc#newcode1235 chrome/browser/chromeos/login/kiosk_browsertest.cc:1235: IN_PROC_BROWSER_TEST_F(KioskUpdateTest, PRE_PRE_UsbStickUpdateAppNoNetwork) { On 2014/08/29 18:44:00, xiyuan wrote: > ...
6 years, 3 months ago (2014-08-29 20:53:07 UTC) #11
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_chromeos_rel_swarming on tryserver.chromium.linux ...
6 years, 3 months ago (2014-08-30 01:11:35 UTC) #13
commit-bot: I haz the power
Committed patchset #8 (id:180001) as b3de42774d1061768edb833d7dae5fac9b0722b1
6 years, 3 months ago (2014-08-30 02:08:17 UTC) #14
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:13:18 UTC) #15
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/ce634e9b901c485341182c546dd4d4c07bc59f5a
Cr-Commit-Position: refs/heads/master@{#292758}

Powered by Google App Engine
This is Rietveld 408576698