| Index: chrome/test/automation/proxy_launcher.h
|
| ===================================================================
|
| --- chrome/test/automation/proxy_launcher.h (revision 80488)
|
| +++ chrome/test/automation/proxy_launcher.h (working copy)
|
| @@ -120,15 +120,14 @@
|
| // Returns true when the browser process is running, independent if any
|
| // renderer process exists or not. It will returns false if an user closed the
|
| // window or if the browser process died by itself.
|
| + // TODO(phajdan.jr): Get rid of IsBrowserRunning, it is difficult
|
| + // to make it simple and reliable.
|
| bool IsBrowserRunning();
|
|
|
| - // Returns true when timeout_ms milliseconds have elapsed.
|
| - // Returns false if the browser process died while waiting.
|
| - bool CrashAwareSleep(int timeout_ms);
|
| -
|
| // 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);
|
| + // some action that your test has taken). If it has exited within |timeout|,
|
| + // puts the exit code in |exit_code| and returns true.
|
| + bool WaitForBrowserProcessToQuit(int timeout, int* exit_code);
|
|
|
| AutomationProxy* automation() const;
|
|
|
|
|