summaryrefslogtreecommitdiffstats
path: root/chrome/test/automation/browser_proxy.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test/automation/browser_proxy.h')
-rw-r--r--chrome/test/automation/browser_proxy.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/test/automation/browser_proxy.h b/chrome/test/automation/browser_proxy.h
index b2c92ca..3cc681e 100644
--- a/chrome/test/automation/browser_proxy.h
+++ b/chrome/test/automation/browser_proxy.h
@@ -122,6 +122,9 @@ class BrowserProxy : public AutomationResourceProxy {
// 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.