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

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

Issue 251093: Modify extension request IPC messages to pass a ListValue instead of a string. (Closed)
Patch Set: notreached messages Created 11 years, 2 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
« no previous file with comments | « chrome/browser/automation/automation_extension_function.h ('k') | chrome/browser/dom_ui/dom_ui.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/automation/automation_extension_function.cc
diff --git a/chrome/browser/automation/automation_extension_function.cc b/chrome/browser/automation/automation_extension_function.cc
index 89288c01cfe53ea7ca8d6bcc187f630d79252d9b..48495837504435891ee1b23bc6d06cfaf299dbf4 100644
--- a/chrome/browser/automation/automation_extension_function.cc
+++ b/chrome/browser/automation/automation_extension_function.cc
@@ -14,8 +14,8 @@
bool AutomationExtensionFunction::enabled_ = false;
-void AutomationExtensionFunction::SetArgs(const std::string& args) {
- args_ = args;
+void AutomationExtensionFunction::SetArgs(const Value* args) {
+ JSONWriter::Write(args, false, &args_);
}
const std::string AutomationExtensionFunction::GetResult() {
« no previous file with comments | « chrome/browser/automation/automation_extension_function.h ('k') | chrome/browser/dom_ui/dom_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698