summaryrefslogtreecommitdiffstats
path: root/chrome/test/automation/automation_proxy.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test/automation/automation_proxy.cc')
-rw-r--r--chrome/test/automation/automation_proxy.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/chrome/test/automation/automation_proxy.cc b/chrome/test/automation/automation_proxy.cc
index 461b3e4..6aa64b3 100644
--- a/chrome/test/automation/automation_proxy.cc
+++ b/chrome/test/automation/automation_proxy.cc
@@ -551,3 +551,12 @@ bool AutomationProxy::LoginWithUserAndPass(const std::string& username,
bool AutomationProxy::ResetToDefaultTheme() {
return Send(new AutomationMsg_ResetToDefaultTheme());
}
+
+bool AutomationProxy::SendJSONRequest(const std::string& request,
+ std::string* response) {
+ bool result = false;
+ return Send(new AutomationMsg_SendJSONRequest(
+ -1, request, response, &result));
+ return result;
+}
+