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

Unified Diff: chrome/test/webdriver/webdriver_session.cc

Issue 9590002: JSONWriter cleanup: integrate pretty print into write options. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix merge conflict 7. Created 8 years, 9 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/test/webdriver/webdriver_automation.cc ('k') | chrome/test/webdriver/webdriver_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/webdriver/webdriver_session.cc
diff --git a/chrome/test/webdriver/webdriver_session.cc b/chrome/test/webdriver/webdriver_session.cc
index 7a45145011d3de8ec38332c30bb25f7e3ba2dce7..6faabd6f95e33c377700c94a8e52819552a79bd9 100644
--- a/chrome/test/webdriver/webdriver_session.cc
+++ b/chrome/test/webdriver/webdriver_session.cc
@@ -164,7 +164,6 @@ Error* Session::ExecuteScript(const FrameId& frame_id,
Value** value) {
std::string args_as_json;
base::JSONWriter::Write(static_cast<const Value* const>(args),
- /*pretty_print=*/false,
&args_as_json);
// Every injected script is fed through the executeScript atom. This atom
@@ -217,7 +216,6 @@ Error* Session::ExecuteAsyncScript(const FrameId& frame_id,
Value** value) {
std::string args_as_json;
base::JSONWriter::Write(static_cast<const Value* const>(args),
- /*pretty_print=*/false,
&args_as_json);
int timeout_ms = async_script_timeout();
« no previous file with comments | « chrome/test/webdriver/webdriver_automation.cc ('k') | chrome/test/webdriver/webdriver_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698