summaryrefslogtreecommitdiffstats
path: root/base/json_writer.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/json_writer.h')
-rw-r--r--base/json_writer.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/base/json_writer.h b/base/json_writer.h
index 42232bf..330e73c 100644
--- a/base/json_writer.h
+++ b/base/json_writer.h
@@ -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 @@ class JSONWriter {
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 @@ class JSONWriter {
};
#endif // BASE_JSON_WRITER_H_
-