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

Unified Diff: chrome/browser/history/starred_url_database.cc

Issue 316016: Move the json-related files into a separate json directory. This hopefully al... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' 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
Index: chrome/browser/history/starred_url_database.cc
===================================================================
--- chrome/browser/history/starred_url_database.cc (revision 29830)
+++ chrome/browser/history/starred_url_database.cc (working copy)
@@ -8,7 +8,7 @@
#include "app/sql/statement.h"
#include "base/file_util.h"
#include "base/logging.h"
-#include "base/json_writer.h"
+#include "base/json/json_writer.h"
#include "base/scoped_vector.h"
#include "base/stl_util-inl.h"
#include "base/string_util.h"
@@ -620,7 +620,7 @@
scoped_ptr<Value> encoded_bookmarks(
encoder.Encode(&bookmark_bar_node, &other_node));
std::string content;
- JSONWriter::Write(encoded_bookmarks.get(), true, &content);
+ base::JSONWriter::Write(encoded_bookmarks.get(), true, &content);
return (file_util::WriteFile(path, content.c_str(),
static_cast<int>(content.length())) != -1);
« no previous file with comments | « chrome/browser/extensions/extensions_service_unittest.cc ('k') | chrome/browser/renderer_host/render_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698