summaryrefslogtreecommitdiffstats
path: root/chrome/test/automation/browser_proxy.cc
diff options
context:
space:
mode:
authorjcampan@google.com <jcampan@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-04 20:40:50 +0000
committerjcampan@google.com <jcampan@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-04 20:40:50 +0000
commit719ead5027772e9be7708cb2414a95df5499595f (patch)
treeff679301ac868278c5479ff2d2d75b7175699540 /chrome/test/automation/browser_proxy.cc
parentc783216a001ae7885730700a7d3a6d7fcf4fba97 (diff)
downloadchromium_src-719ead5027772e9be7708cb2414a95df5499595f.zip
chromium_src-719ead5027772e9be7708cb2414a95df5499595f.tar.gz
chromium_src-719ead5027772e9be7708cb2414a95df5499595f.tar.bz2
Reverting my last commit, it seems to cause regression on the page cycler tests.
TBR=beng git-svn-id: svn://svn.chromium.org/chrome/trunk/src@337 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/automation/browser_proxy.cc')
-rw-r--r--chrome/test/automation/browser_proxy.cc21
1 files changed, 0 insertions, 21 deletions
diff --git a/chrome/test/automation/browser_proxy.cc b/chrome/test/automation/browser_proxy.cc
index 68e41ba..81b8900 100644
--- a/chrome/test/automation/browser_proxy.cc
+++ b/chrome/test/automation/browser_proxy.cc
@@ -346,24 +346,3 @@ bool BrowserProxy::GetHWND(HWND* handle) const {
return succeeded;
}
-
-bool BrowserProxy::RunCommand(int browser_command) const {
- if (!is_valid())
- return false;
-
- IPC::Message* response = NULL;
- bool succeeded = sender_->SendAndWaitForResponse(
- new AutomationMsg_WindowExecuteCommandRequest(0, handle_, browser_command),
- &response, AutomationMsg_WindowExecuteCommandResponse::ID);
-
- scoped_ptr<IPC::Message> response_deleter(response); // Delete on return.
- if (!succeeded)
- return false;
-
- bool success = false;
- if (AutomationMsg_WindowExecuteCommandResponse::Read(response, &success))
- return success;
-
- // We failed to deserialize the returned value.
- return false;
-}