diff options
author | dsh@google.com <dsh@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-03 20:21:01 +0000 |
---|---|---|
committer | dsh@google.com <dsh@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-03 20:21:01 +0000 |
commit | 32c147158f76e19aa22efa2a7b14d3f0e1e23a02 (patch) | |
tree | a84b94bc6c2e4e52d009db317ed49a343658634c /base/json_writer.h | |
parent | 600a41fb05efe99eb2890e884a7af0541456c365 (diff) | |
download | chromium_src-32c147158f76e19aa22efa2a7b14d3f0e1e23a02.zip chromium_src-32c147158f76e19aa22efa2a7b14d3f0e1e23a02.tar.gz chromium_src-32c147158f76e19aa22efa2a7b14d3f0e1e23a02.tar.bz2 |
Port DictionaryValue to use string16 instead of wstring.
Review URL: http://codereview.chromium.org/31014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10818 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/json_writer.h')
-rw-r--r-- | base/json_writer.h | 6 |
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_ - |