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

Unified Diff: chrome/browser/extensions/bundle_installer.cc

Issue 10387167: Revert 137540 - Disable off-store extension installs by default. Also get rid of ExtensionService::… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/download/download_shelf_context_menu.cc ('k') | chrome/browser/extensions/crx_installer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/bundle_installer.cc
===================================================================
--- chrome/browser/extensions/bundle_installer.cc (revision 137574)
+++ chrome/browser/extensions/bundle_installer.cc (working copy)
@@ -156,11 +156,10 @@
// Since we've already confirmed the permissions, create an approval that
// lets CrxInstaller bypass the prompt.
scoped_ptr<WebstoreInstaller::Approval> approval(
- WebstoreInstaller::Approval::CreateWithNoInstallPrompt(
- profile_,
- i->first,
- scoped_ptr<base::DictionaryValue>(
- parsed_manifests_[i->first]->DeepCopy())));
+ new WebstoreInstaller::Approval);
+ approval->extension_id = i->first;
+ approval->profile = profile_;
+ approval->parsed_manifest.reset(parsed_manifests_[i->first]->DeepCopy());
approval->use_app_installed_bubble = false;
approval->skip_post_install_ui = true;
« no previous file with comments | « chrome/browser/download/download_shelf_context_menu.cc ('k') | chrome/browser/extensions/crx_installer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698