summaryrefslogtreecommitdiffstats
path: root/base/json_writer.h
diff options
context:
space:
mode:
authordsh@google.com <dsh@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-03 21:49:53 +0000
committerdsh@google.com <dsh@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-03 21:49:53 +0000
commit3a79b3cc8393d54d72c8c7e14615fe64d86fd039 (patch)
tree2730ef27672c8f9c9e1b6ef3f443434ac98bfd4f /base/json_writer.h
parent1c9e90e17741f9c34f4cbe7f3e68a8300ed24e08 (diff)
downloadchromium_src-3a79b3cc8393d54d72c8c7e14615fe64d86fd039.zip
chromium_src-3a79b3cc8393d54d72c8c7e14615fe64d86fd039.tar.gz
chromium_src-3a79b3cc8393d54d72c8c7e14615fe64d86fd039.tar.bz2
Port DictionaryValue to use string16 instead of wstring.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=10818 Review URL: http://codereview.chromium.org/31014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10833 0039d316-1c4b-4281-b951-d872f2087c98
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_
-