diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-07 00:24:35 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-07 00:24:35 +0000 |
commit | 9d7a49d744c7431eded94842d9bab9f7eae7c7b6 (patch) | |
tree | 4a254b941101eb07aca8bedf67ce289856ba54e3 /chrome/test | |
parent | 7bfc592ea138859db36cfb5ed095cccbe979044f (diff) | |
download | chromium_src-9d7a49d744c7431eded94842d9bab9f7eae7c7b6.zip chromium_src-9d7a49d744c7431eded94842d9bab9f7eae7c7b6.tar.gz chromium_src-9d7a49d744c7431eded94842d9bab9f7eae7c7b6.tar.bz2 |
Convert the RedirectTest ui_tests to browser_tests, and renabled two of the disabled ones. Removed all the loop/waiting on timeout.
BUG=121574,62772,69390
Review URL: https://chromiumcodereview.appspot.com/10010045
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131218 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test')
-rw-r--r-- | chrome/test/automation/tab_proxy.cc | 10 | ||||
-rw-r--r-- | chrome/test/automation/tab_proxy.h | 7 |
2 files changed, 0 insertions, 17 deletions
diff --git a/chrome/test/automation/tab_proxy.cc b/chrome/test/automation/tab_proxy.cc index 64a8a1d..b758dab 100644 --- a/chrome/test/automation/tab_proxy.cc +++ b/chrome/test/automation/tab_proxy.cc @@ -197,16 +197,6 @@ AutomationMsg_NavigationResponseValues TabProxy::Reload() { return navigate_response; } -bool TabProxy::GetRedirectsFrom(const GURL& source_url, - std::vector<GURL>* redirects) { - bool succeeded = false; - sender_->Send(new AutomationMsg_RedirectsFrom(handle_, - source_url, - &succeeded, - redirects)); - return succeeded; -} - bool TabProxy::GetCurrentURL(GURL* url) const { if (!is_valid()) return false; diff --git a/chrome/test/automation/tab_proxy.h b/chrome/test/automation/tab_proxy.h index 336d6d8..4d7aac8 100644 --- a/chrome/test/automation/tab_proxy.h +++ b/chrome/test/automation/tab_proxy.h @@ -123,13 +123,6 @@ class TabProxy : public AutomationResourceProxy, const GURL& url, WindowOpenDisposition disposition) WARN_UNUSED_RESULT; - // Replaces a vector contents with the redirect chain out of the given URL. - // Returns true on success. Failure may be due to being unable to send the - // message, parse the response, or a failure of the history system in the - // browser. - bool GetRedirectsFrom(const GURL& source_url, - std::vector<GURL>* redirects) WARN_UNUSED_RESULT; - // Equivalent to hitting the Back button. This is a synchronous call and // hence blocks until the navigation completes. AutomationMsg_NavigationResponseValues GoBack() WARN_UNUSED_RESULT; |