Index: chrome/test/ui_test_utils.h |
diff --git a/chrome/test/ui_test_utils.h b/chrome/test/ui_test_utils.h |
index fefbb4feadd7b0f7832df0087adab1e890bad41d..40ed3d0d646e2fde57031fc0a73d51f8269b1605 100644 |
--- a/chrome/test/ui_test_utils.h |
+++ b/chrome/test/ui_test_utils.h |
@@ -116,6 +116,9 @@ void WaitForLoadStop(TabContents* tab); |
// Waits for a new browser to be created, returning the browser. |
Browser* WaitForNewBrowser(); |
+// Waits for a new browser not in set |excluded_browsers|. |
+Browser* WaitForBrowserNotInSet(std::set<Browser*> excluded_browsers); |
+ |
// Opens |url| in an incognito browser window with the incognito profile of |
// |profile|, blocking until the navigation finishes. This will create a new |
// browser if a browser with the incognito profile does not exist. |