summaryrefslogtreecommitdiffstats
path: root/base/json_writer.h
diff options
context:
space:
mode:
authornsylvain@chromium.org <nsylvain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-03 20:46:40 +0000
committernsylvain@chromium.org <nsylvain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-03 20:46:40 +0000
commit6470ee8f59dba5eecfce4a64d7ff3930ae716095 (patch)
tree86e020619f32c56f5796a0ea20975c71607ac91f /base/json_writer.h
parent409993dec55a874e0659acf421a87070d450a262 (diff)
downloadchromium_src-6470ee8f59dba5eecfce4a64d7ff3930ae716095.zip
chromium_src-6470ee8f59dba5eecfce4a64d7ff3930ae716095.tar.gz
chromium_src-6470ee8f59dba5eecfce4a64d7ff3930ae716095.tar.bz2
Revert dsh's change 10818
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10821 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/json_writer.h')
-rw-r--r--base/json_writer.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/base/json_writer.h b/base/json_writer.h
index 330e73c..42232bf 100644
--- a/base/json_writer.h
+++ b/base/json_writer.h
@@ -5,8 +5,9 @@
#ifndef BASE_JSON_WRITER_H_
#define BASE_JSON_WRITER_H_
+#include <string>
+
#include "base/basictypes.h"
-#include "base/string16.h"
class Value;
@@ -30,7 +31,7 @@ class JSONWriter {
void BuildJSONString(const Value* const node, int depth);
// Appends a quoted, escaped, version of str to json_string_.
- void AppendQuotedString(const string16& str);
+ void AppendQuotedString(const std::wstring& str);
// Adds space to json_string_ for the indent level.
void IndentLine(int depth);
@@ -44,3 +45,4 @@ class JSONWriter {
};
#endif // BASE_JSON_WRITER_H_
+