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

Unified Diff: base/json/json_writer.cc

Issue 1446363003: Deleted OS_WIN and all Windows specific files from base. (Closed) Base URL: https://github.com/domokit/mojo.git@base_tests
Patch Set: Created 5 years, 1 month 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 | « base/json/json_value_serializer_unittest.cc ('k') | base/json/json_writer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/json/json_writer.cc
diff --git a/base/json/json_writer.cc b/base/json/json_writer.cc
index abfead80070d4354f878c6a8419f6e4a315d2e26..0933fc80993ebe004285eb9c2f9fda99a3e8ce54 100644
--- a/base/json/json_writer.cc
+++ b/base/json/json_writer.cc
@@ -14,11 +14,7 @@
namespace base {
-#if defined(OS_WIN)
-const char kPrettyPrintLineEnding[] = "\r\n";
-#else
const char kPrettyPrintLineEnding[] = "\n";
-#endif
// static
bool JSONWriter::Write(const Value& node, std::string* json) {
« no previous file with comments | « base/json/json_value_serializer_unittest.cc ('k') | base/json/json_writer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698