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

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

Issue 10010038: Do not show the install prompt for themes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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
Index: chrome/browser/extensions/extension_install_dialog.h
diff --git a/chrome/browser/extensions/extension_install_dialog.h b/chrome/browser/extensions/extension_install_dialog.h
index 0728042f0c9a43acf538fe052434b35f4c589ca0..7ecdc2738808f6e2de4289d3c6ee0f099289704c 100644
--- a/chrome/browser/extensions/extension_install_dialog.h
+++ b/chrome/browser/extensions/extension_install_dialog.h
@@ -29,25 +29,4 @@ void ShowExtensionInstallDialogImpl(Profile* profile,
ExtensionInstallUI::Delegate* delegate,
const ExtensionInstallUI::Prompt& prompt);
-// Wrapper around ShowExtensionInstallDialog that shows the install dialog for
-// a given manifest (that corresponds to an extension about to be installed with
-// ID |id|). If the name or description in the manifest is a localized
-// placeholder, it may be overidden with |localized_name| or
-// |localized_description| (which may be empty). The Extension instance
-// that's parsed is returned via |dummy_extension|. |prompt| should be fully
-// populated except for the permissions field, which will be extracted from the
-// extension.
-// Returns true if |dummy_extension| is valid and delegate methods will be
-// called.
-bool ShowExtensionInstallDialogForManifest(
- Profile *profile,
- ExtensionInstallUI::Delegate* delegate,
- const base::DictionaryValue* manifest,
- const std::string& id,
- const std::string& localized_name,
- const std::string& localized_description,
- SkBitmap* icon,
- const ExtensionInstallUI::Prompt& prompt,
- scoped_refptr<Extension>* dummy_extension);
-
#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_DIALOG_H_
« no previous file with comments | « chrome/browser/extensions/bundle_installer.cc ('k') | chrome/browser/extensions/extension_install_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698