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

Issue 326213004: Invoke callback from WebstoreInstaller when installation is fully complete (Closed)

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

Description

Invoke callback from WebstoreInstaller when installation is fully complete ExtensionRegistry observers will be notified when an extension install is fully complete, i.e. after the extension has been loaded or added to one of the registry extension sets. This allows the WebstoreInstaller completion to be delayed until the extension has been loaded. Workarounds in EphemeralAppLauncher for launching an app can now be cleaned up since we are now assured that the app has been loaded. BUG=None TEST=browser_tests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=276666

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Self nits #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -75 lines) Patch
M chrome/browser/apps/ephemeral_app_launcher.h View 4 chunks +0 lines, -13 lines 0 comments Download
M chrome/browser/apps/ephemeral_app_launcher.cc View 1 2 6 chunks +15 lines, -48 lines 0 comments Download
M chrome/browser/extensions/extension_service.cc View 1 2 3 chunks +6 lines, -1 line 0 comments Download
M chrome/browser/extensions/webstore_installer.h View 1 2 2 chunks +3 lines, -7 lines 0 comments Download
M chrome/browser/extensions/webstore_installer.cc View 1 chunk +2 lines, -5 lines 0 comments Download
M extensions/browser/extension_registry.h View 1 chunk +4 lines, -0 lines 0 comments Download
M extensions/browser/extension_registry.cc View 1 1 chunk +7 lines, -0 lines 2 comments Download
M extensions/browser/extension_registry_observer.h View 1 1 chunk +7 lines, -1 line 2 comments Download

Messages

Total messages: 12 (0 generated)
tmdiep
This patch cleans up a hack in EphemeralAppLauncher. This class inherits from WebstoreStandaloneInstaller and launches ...
6 years, 6 months ago (2014-06-11 03:42:14 UTC) #1
asargent_no_longer_on_chrome
lgtm Are there already some tests that exercise the install/launch of ephemeral apps? If not, ...
6 years, 6 months ago (2014-06-11 18:27:54 UTC) #2
tmdiep
Thanks for the review. Tests for ephemeral apps are concentrated in ephemeral_app_browsertest, but there aren't ...
6 years, 6 months ago (2014-06-11 22:56:19 UTC) #3
tmdiep
The CQ bit was checked by tmdiep@chromium.org
6 years, 6 months ago (2014-06-11 22:56:33 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tmdiep@chromium.org/326213004/120001
6 years, 6 months ago (2014-06-11 22:58:25 UTC) #5
asargent_no_longer_on_chrome
> Tests for ephemeral apps are concentrated in ephemeral_app_browsertest, but > there aren't any specifically ...
6 years, 6 months ago (2014-06-11 23:21:05 UTC) #6
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: ios_dbg_simulator on tryserver.chromium ...
6 years, 6 months ago (2014-06-12 00:14:14 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-12 00:15:41 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/mac_chromium_compile_dbg/builds/31493) mac_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/mac_chromium_rel/builds/38181) mac_gpu ...
6 years, 6 months ago (2014-06-12 00:15:42 UTC) #9
tmdiep
The CQ bit was checked by tmdiep@chromium.org
6 years, 6 months ago (2014-06-12 11:12:48 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tmdiep@chromium.org/326213004/120001
6 years, 6 months ago (2014-06-12 11:17:46 UTC) #11
commit-bot: I haz the power
6 years, 6 months ago (2014-06-12 14:20:06 UTC) #12
Message was sent while issue was closed.
Change committed as 276666

Powered by Google App Engine
This is Rietveld 408576698