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

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

Issue 10559056: Use an infobar instead of alert box for extension install error. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanup Created 8 years, 6 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_ui.h
diff --git a/chrome/browser/extensions/extension_install_ui.h b/chrome/browser/extensions/extension_install_ui.h
index e5fabbef358580dc2c6238085345dd29e1b9e0e8..fe83e18e5ad4e4dbe0082fe3b802e93b15dbebd4 100644
--- a/chrome/browser/extensions/extension_install_ui.h
+++ b/chrome/browser/extensions/extension_install_ui.h
@@ -10,6 +10,7 @@
#include "base/compiler_specific.h"
#include "base/string16.h"
+#include "chrome/browser/extensions/crx_installer_error.h"
class Browser;
class SkBitmap;
@@ -31,7 +32,7 @@ class ExtensionInstallUI {
virtual void OnInstallSuccess(const extensions::Extension* extension,
SkBitmap* icon) = 0;
// Called when an extension failed to install.
- virtual void OnInstallFailure(const string16& error) = 0;
+ virtual void OnInstallFailure(const CrxInstallerError& error) = 0;
// Whether or not to show the default UI after completing the installation.
virtual void SetSkipPostInstallUI(bool skip_ui) = 0;
« no previous file with comments | « chrome/browser/extensions/extension_install_prompt.cc ('k') | chrome/browser/extensions/extension_install_ui_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698