| Index: chrome/test/ui/ui_test.h
|
| ===================================================================
|
| --- chrome/test/ui/ui_test.h (revision 80485)
|
| +++ chrome/test/ui/ui_test.h (working copy)
|
| @@ -139,6 +139,10 @@
|
| // window or if the browser process died by itself.
|
| bool IsBrowserRunning();
|
|
|
| + // Returns true when timeout_ms milliseconds have elapsed.
|
| + // Returns false if the browser process died while waiting.
|
| + bool CrashAwareSleep(int timeout_ms);
|
| +
|
| // Returns the number of tabs in the first window. If no windows exist,
|
| // causes a test failure and returns 0.
|
| int GetTabCount();
|
| @@ -150,6 +154,10 @@
|
| // assert that the tab count is valid at the end of the wait.
|
| void WaitUntilTabCount(int tab_count);
|
|
|
| + // Wait for the browser process to shut down on its own (i.e. as a result of
|
| + // some action that your test has taken).
|
| + bool WaitForBrowserProcessToQuit(int timeout);
|
| +
|
| // Waits until the Bookmark bar has stopped animating and become fully visible
|
| // (if |wait_for_open| is true) or fully hidden (if |wait_for_open| is false).
|
| // This function can time out (in which case it returns false).
|
|
|