diff options
author | rafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-26 14:33:19 +0000 |
---|---|---|
committer | rafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-26 14:33:19 +0000 |
commit | fe13bf66690fa7bc1ff25c4714b9c72c3777ee2d (patch) | |
tree | 94e1f4559ffd7999e6c8e18f5744217beb93e97b /chrome/browser/profile_impl.cc | |
parent | 5b885310bd6498cde3e3c3f821db56f2bd9e6e26 (diff) | |
download | chromium_src-fe13bf66690fa7bc1ff25c4714b9c72c3777ee2d.zip chromium_src-fe13bf66690fa7bc1ff25c4714b9c72c3777ee2d.tar.gz chromium_src-fe13bf66690fa7bc1ff25c4714b9c72c3777ee2d.tar.bz2 |
Re-land 57460 - Add hidden component app for web store.
Fixed ExtensionStartupTest which was essentially counting the number of component extensions. Now it doesn't.
Original review here: http://codereview.chromium.org/3116040
This patch adds a component which does not appear on the NTP, but does enforce that gallery urls are isolated in their own process. This is in anticipation of exposing extension api bindings to the gallery so it can install/detect/uninstall extensions & apps.
Note that this patch works correctly with the --apps-gallery-url. If specified, the replacement url will be inserted into the component app's extent
BUG=27431
TBR=aa
Review URL: http://codereview.chromium.org/3104039
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57520 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/profile_impl.cc')
-rw-r--r-- | chrome/browser/profile_impl.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/profile_impl.cc b/chrome/browser/profile_impl.cc index 64027a1..677cf69 100644 --- a/chrome/browser/profile_impl.cc +++ b/chrome/browser/profile_impl.cc @@ -391,6 +391,10 @@ void ProfileImpl::InitExtensions() { component_extensions.push_back( std::make_pair("bookmark_manager", IDR_BOOKMARKS_MANIFEST)); + // Web Store. + component_extensions.push_back( + std::make_pair("web_store", IDR_WEBSTORE_MANIFEST)); + // Some sample apps to make our lives easier while we are developing extension // apps. This way we don't have to constantly install these over and over. if (Extension::AppsAreEnabled() && IncludeDefaultApps()) { |