Index: chrome/browser/extensions/extension_browsertest.h |
diff --git a/chrome/browser/extensions/extension_browsertest.h b/chrome/browser/extensions/extension_browsertest.h |
index dd59a8b94570ea121bfea8e4ef8940ef869c6f68..2ae201f5a5e61fdc2c9d5c9272866f57402f5a9f 100644 |
--- a/chrome/browser/extensions/extension_browsertest.h |
+++ b/chrome/browser/extensions/extension_browsertest.h |
@@ -121,6 +121,10 @@ class ExtensionBrowserTest |
// Waits until an extension is loaded. |
void WaitForExtensionLoad(); |
+ // Waits for an extension load error. Returns true if the error really |
+ // happened. |
+ bool WaitForExtensionLoadError(); |
+ |
// Wait for the specified extension to crash. Returns true if it really |
// crashed. |
bool WaitForExtensionCrash(const std::string& extension_id); |
@@ -137,6 +141,7 @@ class ExtensionBrowserTest |
FilePath test_data_dir_; |
std::string last_loaded_extension_id_; |
int extension_installs_observed_; |
+ int extension_load_errors_observed_; |
private: |
// Temporary directory for testing. |