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

Unified Diff: base/json_writer.h

Issue 31014: Port DictionaryValue to use string16 instead of wstring. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 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 | « base/json_reader_unittest.cc ('k') | base/json_writer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/json_writer.h
===================================================================
--- base/json_writer.h (revision 10828)
+++ base/json_writer.h (working copy)
@@ -5,9 +5,8 @@
#ifndef BASE_JSON_WRITER_H_
#define BASE_JSON_WRITER_H_
-#include <string>
-
#include "base/basictypes.h"
+#include "base/string16.h"
class Value;
@@ -31,7 +30,7 @@
void BuildJSONString(const Value* const node, int depth);
// Appends a quoted, escaped, version of str to json_string_.
- void AppendQuotedString(const std::wstring& str);
+ void AppendQuotedString(const string16& str);
// Adds space to json_string_ for the indent level.
void IndentLine(int depth);
@@ -45,4 +44,3 @@
};
#endif // BASE_JSON_WRITER_H_
-
« no previous file with comments | « base/json_reader_unittest.cc ('k') | base/json_writer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698