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

Issue 339103002: Update the EphemeralAppLauncher for use by the webstorePrivate API (Closed)

Created:
6 years, 6 months ago by tmdiep
Modified:
6 years, 6 months ago
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, chromium-apps-reviews_chromium.org, tfarina, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Update the EphemeralAppLauncher for use by the webstorePrivate API - The WebstoreStandaloneInstaller now supports error codes to allow translation to API error codes. - The EphemeralAppLauncher now also returns error codes and performs more checks before installing an ephemeral app or enabling an installed app. - Introduces the ExtensionInstallChecker, which checks blacklist state, requirement errors and management policies for a given extension. BUG=380980 TEST=browser_tests (EphemeralAppLauncherTest.*) unit_tests (ExtensionInstallCheckerTest.*) Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=278890

Patch Set 1 #

Patch Set 2 : Self nit #

Total comments: 11

Patch Set 3 : Rebase #

Patch Set 4 : Addressed review comments #

Patch Set 5 : Rebase #

Patch Set 6 : Added sequence numbers to ExtensionInstallChecker #

Patch Set 7 : Rebase again #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1920 lines, -190 lines) Patch
M chrome/browser/apps/ephemeral_app_launcher.h View 1 2 3 5 chunks +60 lines, -17 lines 0 comments Download
M chrome/browser/apps/ephemeral_app_launcher.cc View 1 2 3 7 chunks +232 lines, -67 lines 0 comments Download
A chrome/browser/apps/ephemeral_app_launcher_browsertest.cc View 1 2 3 4 5 1 chunk +463 lines, -0 lines 0 comments Download
M chrome/browser/apps/ephemeral_app_throttle.cc View 1 chunk +2 lines, -1 line 0 comments Download
A chrome/browser/extensions/extension_install_checker.h View 1 2 3 4 5 1 chunk +133 lines, -0 lines 0 comments Download
A chrome/browser/extensions/extension_install_checker.cc View 1 2 3 4 5 1 chunk +171 lines, -0 lines 0 comments Download
A chrome/browser/extensions/extension_install_checker_unittest.cc View 1 2 3 4 5 1 chunk +488 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_installer.h View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
A chrome/browser/extensions/webstore_install_result.h View 1 2 3 1 chunk +69 lines, -0 lines 0 comments Download
M chrome/browser/extensions/webstore_installer_test.h View 2 chunks +10 lines, -2 lines 0 comments Download
M chrome/browser/extensions/webstore_installer_test.cc View 1 2 3 3 chunks +14 lines, -1 line 0 comments Download
M chrome/browser/extensions/webstore_standalone_installer.h View 1 2 3 4 chunks +23 lines, -7 lines 0 comments Download
M chrome/browser/extensions/webstore_standalone_installer.cc View 1 2 3 14 chunks +139 lines, -81 lines 0 comments Download
M chrome/browser/ui/app_list/search/webstore/webstore_result.h View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/app_list/search/webstore/webstore_result.cc View 1 2 3 6 chunks +17 lines, -8 lines 0 comments Download
M chrome/chrome_browser_extensions.gypi View 1 2 3 4 5 6 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
A chrome/test/data/extensions/platform_apps/ephemeral_launcher/app.crx View Binary file 0 comments Download
A chrome/test/data/extensions/platform_apps/ephemeral_launcher/app.pem View 1 chunk +28 lines, -0 lines 0 comments Download
A + chrome/test/data/extensions/platform_apps/ephemeral_launcher/app/index.html View 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/test/data/extensions/platform_apps/ephemeral_launcher/app/main.js View 1 chunk +4 lines, -1 line 0 comments Download
A + chrome/test/data/extensions/platform_apps/ephemeral_launcher/app/manifest.json View 1 chunk +2 lines, -2 lines 0 comments Download
A chrome/test/data/extensions/platform_apps/ephemeral_launcher/app_with_permissions.crx View Binary file 0 comments Download
A chrome/test/data/extensions/platform_apps/ephemeral_launcher/app_with_permissions.pem View 1 chunk +28 lines, -0 lines 0 comments Download
A + chrome/test/data/extensions/platform_apps/ephemeral_launcher/app_with_permissions/index.html View 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/test/data/extensions/platform_apps/ephemeral_launcher/app_with_permissions/main.js View 1 chunk +4 lines, -1 line 0 comments Download
A + chrome/test/data/extensions/platform_apps/ephemeral_launcher/app_with_permissions/manifest.json View 1 chunk +3 lines, -3 lines 0 comments Download
A + chrome/test/data/extensions/platform_apps/ephemeral_launcher/extension/manifest.json View 1 chunk +1 line, -1 line 0 comments Download
A chrome/test/data/extensions/platform_apps/ephemeral_launcher/inlineinstall/detail/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeid View 1 chunk +6 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/platform_apps/ephemeral_launcher/inlineinstall/detail/kbiancnbopdghkfedjhfdoegjadfjeal View 1 chunk +6 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/platform_apps/ephemeral_launcher/inlineinstall/detail/mbfcnecjknjpipkfkoangpfnhhlpamki View 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (0 generated)
tmdiep
This patch is the first installment for the webstorePrivate API changes. The size of this ...
6 years, 6 months ago (2014-06-17 06:53:25 UTC) #1
asargent_no_longer_on_chrome
[Sorry for review latency] lgtm with some suggestions https://codereview.chromium.org/339103002/diff/20001/chrome/browser/apps/ephemeral_app_launcher.h File chrome/browser/apps/ephemeral_app_launcher.h (right): https://codereview.chromium.org/339103002/diff/20001/chrome/browser/apps/ephemeral_app_launcher.h#newcode61 chrome/browser/apps/ephemeral_app_launcher.h:61: LAUNCH_BLOCKED_BY_POLICY ...
6 years, 6 months ago (2014-06-18 20:25:10 UTC) #2
tmdiep
Just replied to some comments. I'll address other review comments when I get in the ...
6 years, 6 months ago (2014-06-18 22:28:34 UTC) #3
asargent_no_longer_on_chrome
https://codereview.chromium.org/339103002/diff/20001/chrome/browser/apps/ephemeral_app_launcher.h File chrome/browser/apps/ephemeral_app_launcher.h (right): https://codereview.chromium.org/339103002/diff/20001/chrome/browser/apps/ephemeral_app_launcher.h#newcode61 chrome/browser/apps/ephemeral_app_launcher.h:61: LAUNCH_BLOCKED_BY_POLICY On 2014/06/18 22:28:34, tmdiep wrote: > On 2014/06/18 ...
6 years, 6 months ago (2014-06-19 00:16:44 UTC) #4
tmdiep
Thanks for the review! All review comments addressed. I moved the result codes to webstore_install_result.h ...
6 years, 6 months ago (2014-06-19 01:48:37 UTC) #5
tmdiep
+tapted for stamp on app_list/.../webstore_result
6 years, 6 months ago (2014-06-19 01:49:18 UTC) #6
tapted
app_list/.../webstore_result* lgtm
6 years, 6 months ago (2014-06-19 03:01:58 UTC) #7
tmdiep
The CQ bit was checked by tmdiep@chromium.org
6 years, 6 months ago (2014-06-19 03:04:21 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tmdiep@chromium.org/339103002/60001
6 years, 6 months ago (2014-06-19 03:05:25 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-19 08:31:44 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_rel/builds/43501)
6 years, 6 months ago (2014-06-19 08:31:45 UTC) #11
tmdiep
The CQ bit was checked by tmdiep@chromium.org
6 years, 6 months ago (2014-06-19 10:21:37 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tmdiep@chromium.org/339103002/80001
6 years, 6 months ago (2014-06-19 10:23:37 UTC) #13
tmdiep
The CQ bit was unchecked by tmdiep@chromium.org
6 years, 6 months ago (2014-06-19 12:14:16 UTC) #14
tmdiep
The CQ bit was checked by tmdiep@chromium.org
6 years, 6 months ago (2014-06-20 01:44:15 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tmdiep@chromium.org/339103002/100001
6 years, 6 months ago (2014-06-20 01:46:16 UTC) #16
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_rel on tryserver.chromium ...
6 years, 6 months ago (2014-06-20 07:39:29 UTC) #17
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-20 08:11:11 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/win_chromium_rel/builds/30149)
6 years, 6 months ago (2014-06-20 08:11:12 UTC) #19
tmdiep
The CQ bit was checked by tmdiep@chromium.org
6 years, 6 months ago (2014-06-20 08:26:11 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tmdiep@chromium.org/339103002/120001
6 years, 6 months ago (2014-06-20 08:27:41 UTC) #21
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_gpu_triggered_tests on tryserver.chromium.gpu ...
6 years, 6 months ago (2014-06-20 13:41:33 UTC) #22
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-20 14:34:45 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: win_gpu_triggered_tests on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/win_gpu_triggered_tests/builds/19883)
6 years, 6 months ago (2014-06-20 14:34:46 UTC) #24
tmdiep
The CQ bit was checked by tmdiep@chromium.org
6 years, 6 months ago (2014-06-20 22:15:52 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tmdiep@chromium.org/339103002/120001
6 years, 6 months ago (2014-06-20 22:19:01 UTC) #26
commit-bot: I haz the power
6 years, 6 months ago (2014-06-21 01:19:10 UTC) #27
Message was sent while issue was closed.
Change committed as 278890

Powered by Google App Engine
This is Rietveld 408576698