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

Unified Diff: chrome/browser/chromeos/gdata/gdata_file_system.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
Index: chrome/browser/chromeos/gdata/gdata_file_system.cc
diff --git a/chrome/browser/chromeos/gdata/gdata_file_system.cc b/chrome/browser/chromeos/gdata/gdata_file_system.cc
index 65abbfb01200f81cf327666dbcbad1428b71349e..9417b7c783e87f35c40c29a1cb1d04c4732794c8 100644
--- a/chrome/browser/chromeos/gdata/gdata_file_system.cc
+++ b/chrome/browser/chromeos/gdata/gdata_file_system.cc
@@ -1387,9 +1387,7 @@ void GDataFileSystem::SaveFeedOnIOThreadPool(
FilePath file_name = meta_cache_path.Append(name);
std::string json;
- base::JSONWriter::Write(feed.get(),
- false, // pretty_print
- &json);
+ base::JSONWriter::Write(feed.get(), &json);
int file_size = static_cast<int>(json.length());
if (file_util::WriteFile(file_name, json.data(), file_size) != file_size) {

Powered by Google App Engine
This is Rietveld 408576698