Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9379)

Unified Diff: chrome/test/automation/browser_proxy.cc

Issue 10534163: First pass at refactoring pyautolib in preparation for removing proxy dependencies. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Switched AutomationMsg_SendJSONRequest to use a browser index, now only browser_proxy uses browser … Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/test/automation/browser_proxy.cc
diff --git a/chrome/test/automation/browser_proxy.cc b/chrome/test/automation/browser_proxy.cc
index a0e18bc816825db7a5842ac9885e07fd5078055f..867de74306a9893a52ead4f106b8e8e3a69c0c60 100644
--- a/chrome/test/automation/browser_proxy.cc
+++ b/chrome/test/automation/browser_proxy.cc
@@ -428,11 +428,12 @@ bool BrowserProxy::SendJSONRequest(const std::string& request,
return false;
bool result = false;
- if (!sender_->Send(new AutomationMsg_SendJSONRequest(handle_,
- request,
- response,
- &result),
- timeout_ms))
+ if (!sender_->Send(
+ new AutomationMsg_SendJSONRequestWithBrowserHandle(handle_,
+ request,
+ response,
+ &result),
+ timeout_ms))
return false;
return result;
}

Powered by Google App Engine
This is Rietveld 408576698