diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-24 09:34:14 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-24 09:34:14 +0000 |
commit | 4cc8eb5b72b445d6ec8ad965588f2014012947a2 (patch) | |
tree | 6dba80504dacb24991ba037397f2563aa9cf9a26 /chrome/test/automation/automation_proxy.h | |
parent | 309d7a28aa6c938f60ac7a543ab4a73827d29562 (diff) | |
download | chromium_src-4cc8eb5b72b445d6ec8ad965588f2014012947a2.zip chromium_src-4cc8eb5b72b445d6ec8ad965588f2014012947a2.tar.gz chromium_src-4cc8eb5b72b445d6ec8ad965588f2014012947a2.tar.bz2 |
Get rid of WaitForWindowCountToChange.
The function had confusing semantics, was marked to be removed,
and could induce flakiness in tests which used it.
WaitForWindowCountToBecome is much better replacement for it.
Review URL: http://codereview.chromium.org/49007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12348 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/automation/automation_proxy.h')
-rw-r--r-- | chrome/test/automation/automation_proxy.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/chrome/test/automation/automation_proxy.h b/chrome/test/automation/automation_proxy.h index e80259f..138edd0 100644 --- a/chrome/test/automation/automation_proxy.h +++ b/chrome/test/automation/automation_proxy.h @@ -89,16 +89,6 @@ class AutomationProxy : public IPC::Channel::Listener, // true on success. False likely indicates an IPC error. bool GetBrowserWindowCount(int* num_windows); - // Block the thread until the window count changes. - // First parameter is the original window count. - // The second parameter is updated with the number of window tabs. - // The third parameter specifies the timeout length for the wait loop. - // Returns false if the window count does not change before time out. - // TODO(evanm): this function has a confusing name and semantics; it should - // be deprecated for WaitForWindowCountToBecome. - bool WaitForWindowCountToChange(int count, int* new_counter, - int wait_timeout); - // Block the thread until the window count becomes the provided value. // Returns true on success. bool WaitForWindowCountToBecome(int target_count, int wait_timeout); |