OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/test/automation/automation_proxy.h" | 5 #include "chrome/test/automation/automation_proxy.h" |
6 | 6 |
7 #include <gtest/gtest.h> | 7 #include <gtest/gtest.h> |
8 | 8 |
9 #include <sstream> | 9 #include <sstream> |
10 | 10 |
(...skipping 579 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
590 } | 590 } |
591 | 591 |
592 bool AutomationProxy::SendJSONRequest(const std::string& request, | 592 bool AutomationProxy::SendJSONRequest(const std::string& request, |
593 int timeout_ms, | 593 int timeout_ms, |
594 std::string* response) { | 594 std::string* response) { |
595 bool result = false; | 595 bool result = false; |
596 if (!SendAutomationJSONRequest(this, request, timeout_ms, response, &result)) | 596 if (!SendAutomationJSONRequest(this, request, timeout_ms, response, &result)) |
597 return false; | 597 return false; |
598 return result; | 598 return result; |
599 } | 599 } |
OLD | NEW |