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

Issue 1869483002: kiosk: Defer app update until platform matches (Closed)

Created:
4 years, 8 months ago by xiyuan
Modified:
4 years, 5 months ago
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, jennyz, jinzhang1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

kiosk: Defer app update until platform matches - Add KioskAppManager::IsPlatformCompliant(WithApp) helpers; - Add a KioskAppUpdateInstallDelayer to defer app update if the platform version is not compliant; - Update required platform version meta data when an app update is deferred so that update engine can move forward with the new platform version; - Update app meta data only when the app does not have delayed installs during launch; BUG=585143 Committed: https://crrev.com/a0a6aaaa1c046e4cc61f1175d7443cb50ce365bd Cr-Commit-Position: refs/heads/master@{#388356}

Patch Set 1 #

Total comments: 2

Patch Set 2 : rebased on top of InstallDelayer CL #

Patch Set 3 : rebase #

Total comments: 6

Patch Set 4 : for comments from jenny #

Unified diffs Side-by-side diffs Delta from patch set Stats (+343 lines, -12 lines) Patch
M chrome/browser/chromeos/app_mode/kiosk_app_manager.h View 1 2 chunks +10 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/app_mode/kiosk_app_manager.cc View 1 2 3 4 chunks +55 lines, -1 line 0 comments Download
M chrome/browser/chromeos/app_mode/kiosk_app_manager_browsertest.cc View 1 5 chunks +74 lines, -4 lines 0 comments Download
A chrome/browser/chromeos/app_mode/kiosk_app_update_install_gate.h View 1 2 1 chunk +38 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/app_mode/kiosk_app_update_install_gate.cc View 1 2 3 1 chunk +42 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/app_mode/startup_app_launcher.h View 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/chromeos/app_mode/startup_app_launcher.cc View 1 3 chunks +15 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/login/kiosk_browsertest.cc View 1 4 chunks +92 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_system_impl.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/extension_system_impl.cc View 1 2 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/chrome_browser_chromeos.gypi View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
D chrome/test/data/chromeos/app_mode/offline_enabled_kiosk_app/v2_required_platform_version_added.crx View Binary file 0 comments Download
A + chrome/test/data/chromeos/app_mode/webstore/downloads/ajoggoflpgplnnjkjamcmbepjdjdnpdp_v2_required_platform_version_added.crx View Binary file 0 comments Download
A + chrome/test/data/chromeos/app_mode/webstore/downloads/ajoggoflpgplnnjkjamcmbepjdjdnpdp_v2_required_platform_version_added.crx.mock-http-headers View 0 chunks +-1 lines, --1 lines 0 comments Download
M extensions/browser/extension_prefs.h View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 20 (8 generated)
xiyuan
4 years, 8 months ago (2016-04-06 16:02:08 UTC) #2
xiyuan
+jinzhang fyi
4 years, 8 months ago (2016-04-06 16:02:50 UTC) #3
asargent_no_longer_on_chrome
https://codereview.chromium.org/1869483002/diff/1/chrome/browser/extensions/extension_service.cc File chrome/browser/extensions/extension_service.cc (right): https://codereview.chromium.org/1869483002/diff/1/chrome/browser/extensions/extension_service.cc#newcode1835 chrome/browser/extensions/extension_service.cc:1835: #endif This function is already getting kind of long ...
4 years, 8 months ago (2016-04-06 19:32:23 UTC) #4
xiyuan
+jenny CL rebased on top of the InstallGate change. PTAL. Thanks. https://codereview.chromium.org/1869483002/diff/1/chrome/browser/extensions/extension_service.cc File chrome/browser/extensions/extension_service.cc (right): ...
4 years, 8 months ago (2016-04-19 18:38:54 UTC) #7
jennyz
lgtm with nits. BTW, where are the source files for the testing crx? https://codereview.chromium.org/1869483002/diff/40001/chrome/browser/chromeos/app_mode/kiosk_app_manager.cc File ...
4 years, 8 months ago (2016-04-19 21:54:28 UTC) #8
xiyuan
I did not add new testing crx, just moved it to webstore dir to make ...
4 years, 8 months ago (2016-04-19 22:28:45 UTC) #9
asargent_no_longer_on_chrome
lgtm
4 years, 8 months ago (2016-04-19 22:59:43 UTC) #10
xiyuan
Thanks guys for the quick review.
4 years, 8 months ago (2016-04-19 23:04:02 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1869483002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1869483002/60001
4 years, 8 months ago (2016-04-19 23:07:17 UTC) #14
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 8 months ago (2016-04-19 23:34:27 UTC) #16
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/a0a6aaaa1c046e4cc61f1175d7443cb50ce365bd Cr-Commit-Position: refs/heads/master@{#388356}
4 years, 8 months ago (2016-04-22 19:18:07 UTC) #18
Denis Kuznetsov (DE-MUC)
4 years, 5 months ago (2016-07-22 14:36:46 UTC) #20
Message was sent while issue was closed.

          

Powered by Google App Engine
This is Rietveld 408576698