summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_install_ui.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/extensions/extension_install_ui.h')
-rw-r--r--chrome/browser/extensions/extension_install_ui.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/browser/extensions/extension_install_ui.h b/chrome/browser/extensions/extension_install_ui.h
index 13974be..44e2f26 100644
--- a/chrome/browser/extensions/extension_install_ui.h
+++ b/chrome/browser/extensions/extension_install_ui.h
@@ -74,6 +74,13 @@ class ExtensionInstallUI : public ImageLoadingTracker::Observer {
virtual void OnImageLoaded(
SkBitmap* image, const ExtensionResource& resource, int index);
+ protected:
+ friend class ExtensionWebstorePrivateApiTest;
+
+ // Disables showing UI (ErrorBox, etc.) for install failures. To be used only
+ // in tests.
+ static void DisableFailureUIForTests();
+
private:
// Show an infobar for a newly-installed theme. previous_theme_id
// should be empty if the previous theme was the system/default