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

Unified Diff: chrome/browser/automation/automation_provider_json.cc

Issue 9288051: Implement the webdriver window sizing commands. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ... Created 8 years, 11 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/browser/automation/automation_provider_json.cc
diff --git a/chrome/browser/automation/automation_provider_json.cc b/chrome/browser/automation/automation_provider_json.cc
index 1c1e3bd518bd1e921f6928af621ea8023fb26c64..5edf552683c74b83de2e6a3557fd4665ebcd3e23 100644
--- a/chrome/browser/automation/automation_provider_json.cc
+++ b/chrome/browser/automation/automation_provider_json.cc
@@ -42,14 +42,14 @@ void AutomationJSONReply::SendSuccess(const Value* value) {
}
void AutomationJSONReply::SendError(const std::string& error_message) {
- SendErrorInternal(Error(error_message));
+ SendError(Error(error_message));
}
void AutomationJSONReply::SendErrorCode(ErrorCode code) {
- SendErrorInternal(Error(code));
+ SendError(Error(code));
}
-void AutomationJSONReply::SendErrorInternal(const Error& error) {
+void AutomationJSONReply::SendError(const Error& error) {
DCHECK(message_) << "Resending reply for JSON automation request";
base::DictionaryValue dict;
« no previous file with comments | « chrome/browser/automation/automation_provider_json.h ('k') | chrome/browser/automation/testing_automation_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698