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

Unified Diff: chrome/browser/extensions/extension_install_prompt.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_prompt.h
diff --git a/chrome/browser/extensions/extension_install_prompt.h b/chrome/browser/extensions/extension_install_prompt.h
index bac327d739c4b77d59dd98bd97e4f52a3e2fc334..ce1f546937ba7bbb90173077cd5c8fd29c104e99 100644
--- a/chrome/browser/extensions/extension_install_prompt.h
+++ b/chrome/browser/extensions/extension_install_prompt.h
@@ -12,6 +12,7 @@
#include "base/compiler_specific.h"
#include "base/memory/scoped_ptr.h"
#include "base/string16.h"
+#include "chrome/browser/extensions/crx_installer_error.h"
#include "chrome/browser/extensions/image_loading_tracker.h"
#include "chrome/common/extensions/url_pattern.h"
#include "third_party/skia/include/core/SkBitmap.h"
@@ -205,7 +206,7 @@ class ExtensionInstallPrompt : public ImageLoadingTracker::Observer {
SkBitmap* icon);
// Installation failed. This is declared virtual for testing.
- virtual void OnInstallFailure(const string16& error);
+ virtual void OnInstallFailure(const CrxInstallerError& error);
// ImageLoadingTracker::Observer:
virtual void OnImageLoaded(const gfx::Image& image,
« no previous file with comments | « chrome/browser/extensions/crx_installer_error.h ('k') | chrome/browser/extensions/extension_install_prompt.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698