summaryrefslogtreecommitdiffstats
path: root/chrome/test/automation/browser_proxy.cc
diff options
context:
space:
mode:
authorhuanr@chromium.org <huanr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-31 04:16:44 +0000
committerhuanr@chromium.org <huanr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-31 04:16:44 +0000
commit49a14a8af7d0186c0c6de56271dffdf54643b5fd (patch)
tree55403096e800c9c8685d800f313d5710afe02dc6 /chrome/test/automation/browser_proxy.cc
parent80f8dafc252632661d8c26835f0d92b387390532 (diff)
downloadchromium_src-49a14a8af7d0186c0c6de56271dffdf54643b5fd.zip
chromium_src-49a14a8af7d0186c0c6de56271dffdf54643b5fd.tar.gz
chromium_src-49a14a8af7d0186c0c6de56271dffdf54643b5fd.tar.bz2
Mechanic change based on comment from previous code review.
Rename RunCommand to RunCommandAsync and RunCommandSync to RunCommand. Review URL: http://codereview.chromium.org/57039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12836 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/automation/browser_proxy.cc')
-rw-r--r--chrome/test/automation/browser_proxy.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/chrome/test/automation/browser_proxy.cc b/chrome/test/automation/browser_proxy.cc
index 240974e..4a7846e 100644
--- a/chrome/test/automation/browser_proxy.cc
+++ b/chrome/test/automation/browser_proxy.cc
@@ -281,28 +281,28 @@ bool BrowserProxy::GetHWND(HWND* handle) const {
}
#endif // defined(OS_WIN)
-bool BrowserProxy::RunCommand(int browser_command) const {
+bool BrowserProxy::RunCommandAsync(int browser_command) const {
if (!is_valid())
return false;
bool result = false;
- sender_->Send(new AutomationMsg_WindowExecuteCommand(0, handle_,
- browser_command,
- &result));
+ sender_->Send(new AutomationMsg_WindowExecuteCommandAsync(0, handle_,
+ browser_command,
+ &result));
return result;
}
-bool BrowserProxy::RunCommandSync(int browser_command) const {
+bool BrowserProxy::RunCommand(int browser_command) const {
if (!is_valid())
return false;
bool result = false;
- sender_->Send(new AutomationMsg_WindowExecuteCommandSync(0, handle_,
- browser_command,
- &result));
+ sender_->Send(new AutomationMsg_WindowExecuteCommand(0, handle_,
+ browser_command,
+ &result));
return result;
}