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

Unified Diff: chrome/browser/extensions/extension_service.h

Issue 7349020: Don't show a prompt when loading an extension with NPAPI plugins via (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: unit test fix Created 9 years, 5 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 | « no previous file | chrome/browser/extensions/extension_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_service.h
diff --git a/chrome/browser/extensions/extension_service.h b/chrome/browser/extensions/extension_service.h
index 99c576e9beb4c3e1fad7955a74060b447ba45e39..611056ab4a3f5f5ad33375c9a7bd0b664890e7e9 100644
--- a/chrome/browser/extensions/extension_service.h
+++ b/chrome/browser/extensions/extension_service.h
@@ -325,6 +325,9 @@ class ExtensionService
// Loads the extension from the directory |extension_path|.
void LoadExtension(const FilePath& extension_path);
+ // Same as above, but for use with command line switch --load-extension=path.
+ void LoadExtensionFromCommandLine(const FilePath& extension_path);
+
// Loads any component extensions.
void LoadComponentExtensions();
@@ -397,7 +400,8 @@ class ExtensionService
void AddExtension(const Extension* extension);
// Called by the backend when an unpacked extension has been loaded.
- void OnLoadSingleExtension(const Extension* extension);
+ void OnLoadSingleExtension(const Extension* extension,
+ bool prompt_for_plugins);
// Called by the backend when an extension has been installed.
void OnExtensionInstalled(
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698