Index: chrome/browser/extensions/extension_browsertest.h |
diff --git a/chrome/browser/extensions/extension_browsertest.h b/chrome/browser/extensions/extension_browsertest.h |
index 9b7f5f00efdee22ff6e6cd10bbc62e295770ca26..5324196bf3ec2b2cf6deef6b07a14759d87c88da 100644 |
--- a/chrome/browser/extensions/extension_browsertest.h |
+++ b/chrome/browser/extensions/extension_browsertest.h |
@@ -52,6 +52,12 @@ class ExtensionBrowserTest |
return InstallOrUpdateExtension("", path, INSTALL_UI_TYPE_NORMAL, |
expected_change); |
} |
+ bool InstallExtensionWithUIAutoConfirm(const FilePath& path, |
+ int expected_change, |
+ Profile* profile) { |
+ return InstallOrUpdateExtension("", path, INSTALL_UI_TYPE_AUTO_CONFIRM, |
+ expected_change, profile); |
+ } |
// Begins install process but simulates a user cancel. |
bool StartInstallButCancel(const FilePath& path) { |
@@ -109,11 +115,16 @@ class ExtensionBrowserTest |
INSTALL_UI_TYPE_NONE, |
INSTALL_UI_TYPE_CANCEL, |
INSTALL_UI_TYPE_NORMAL, |
+ INSTALL_UI_TYPE_AUTO_CONFIRM, |
}; |
bool InstallOrUpdateExtension(const std::string& id, const FilePath& path, |
InstallUIType ui_type, |
int expected_change); |
+ bool InstallOrUpdateExtension(const std::string& id, const FilePath& path, |
+ InstallUIType ui_type, |
+ int expected_change, |
+ Profile* profile); |
bool LoadExtensionImpl(const FilePath& path, bool incognito_enabled); |
bool WaitForExtensionHostsToLoad(); |