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

Unified Diff: chrome/test/ui_test_utils.h

Issue 7080049: Tests for bug 5988. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: added browsertest insteaf of uitest. Created 9 years, 7 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/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.

Powered by Google App Engine
This is Rietveld 408576698