Index: chrome/test/automation/browser_proxy.h |
=================================================================== |
--- chrome/test/automation/browser_proxy.h (revision 5928) |
+++ chrome/test/automation/browser_proxy.h (working copy) |
@@ -122,6 +122,9 @@ |
// Returns false if the tab count does not change. |
bool WaitForTabCountToChange(int count, int* new_count, int wait_timeout); |
+ // Block the thread until the tab count is |count|. |
+ bool WaitForTabCountToBecome(int count, int wait_timeout); |
+ |
// Block the thread until the specified tab is the active tab. |
// |wait_timeout| is the timeout, in milliseconds, for waiting. |
// Returns false if the tab does not become active. |