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

Unified Diff: chrome/browser/automation/automation_provider.cc

Issue 4687005: Track permissions granted to extensions in prefs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: missed updating a method call Created 10 years, 1 month 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
Index: chrome/browser/automation/automation_provider.cc
diff --git a/chrome/browser/automation/automation_provider.cc b/chrome/browser/automation/automation_provider.cc
index ec48e7a674e68b5f3108efb855aad4539b273e2d..079e8476298708c1dddee34665c01b61d5a42734 100644
--- a/chrome/browser/automation/automation_provider.cc
+++ b/chrome/browser/automation/automation_provider.cc
@@ -769,7 +769,6 @@ void AutomationProvider::InstallExtension(const FilePath& crx_path,
new CrxInstaller(install_dir,
service,
NULL)); // silent install, no UI
- installer->set_allow_privilege_increase(true);
installer->InstallCrx(crx_path);
} else {
AutomationMsg_InstallExtension::WriteReplyParams(
@@ -841,7 +840,6 @@ void AutomationProvider::InstallExtensionAndGetHandle(
new CrxInstaller(service->install_directory(),
service,
client));
- installer->set_allow_privilege_increase(true);
installer->InstallCrx(crx_path);
} else {
AutomationMsg_InstallExtensionAndGetHandle::WriteReplyParams(
« no previous file with comments | « no previous file | chrome/browser/download/download_util.cc » ('j') | chrome/browser/extensions/extensions_service.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698