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

Unified Diff: chrome/renderer/dom_ui_bindings.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/renderer/dom_ui_bindings.cc
===================================================================
--- chrome/renderer/dom_ui_bindings.cc (revision 29830)
+++ chrome/renderer/dom_ui_bindings.cc (working copy)
@@ -4,7 +4,7 @@
#include "chrome/renderer/dom_ui_bindings.h"
-#include "base/json_writer.h"
+#include "base/json/json_writer.h"
#include "base/stl_util-inl.h"
#include "base/values.h"
#include "chrome/common/render_messages.h"
@@ -40,7 +40,7 @@
for (size_t i = 0; i < strings.size(); ++i) {
value.Append(Value::CreateStringValue(strings[i]));
}
- JSONWriter::Write(&value, /* pretty_print= */ false, &content);
+ base::JSONWriter::Write(&value, /* pretty_print= */ false, &content);
}
// Send the message up to the browser.
« no previous file with comments | « chrome/common/web_resource/web_resource_unpacker.cc ('k') | chrome/renderer/extensions/extension_api_client_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698