diff options
Diffstat (limited to 'chrome/browser/extensions/extension_service.cc')
-rw-r--r-- | chrome/browser/extensions/extension_service.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/chrome/browser/extensions/extension_service.cc b/chrome/browser/extensions/extension_service.cc index 7d49151..5c05c6c 100644 --- a/chrome/browser/extensions/extension_service.cc +++ b/chrome/browser/extensions/extension_service.cc @@ -1012,10 +1012,15 @@ void ExtensionService::UpdateActivePermissions( } void ExtensionService::LoadExtension(const FilePath& extension_path) { + LoadExtension(extension_path, true); +} + +void ExtensionService::LoadExtension(const FilePath& extension_path, + bool prompt_for_plugins) { BrowserThread::PostTask(BrowserThread::FILE, FROM_HERE, NewRunnableMethod(backend_.get(), &ExtensionServiceBackend::LoadSingleExtension, - extension_path, true)); + extension_path, prompt_for_plugins)); } void ExtensionService::LoadExtensionFromCommandLine( |