diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-23 20:00:20 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-23 20:00:20 +0000 |
commit | 93d49d70b89b22ec46d0b00b7950297f64865d56 (patch) | |
tree | 3243e0209c738df0c18c2ba615667f757fcaec94 /ipc | |
parent | a9f607e33a91604bc63bd8c846aefbda9bf0dfa9 (diff) | |
download | chromium_src-93d49d70b89b22ec46d0b00b7950297f64865d56.zip chromium_src-93d49d70b89b22ec46d0b00b7950297f64865d56.tar.gz chromium_src-93d49d70b89b22ec46d0b00b7950297f64865d56.tar.bz2 |
Move the json-related files into a separate json directory. This hopefully also
makes the naming of string_escape more clear (it's actually JSON-specific).
Move the files into the base namespace.
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/316016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29934 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc')
-rw-r--r-- | ipc/ipc_message_utils.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ipc/ipc_message_utils.cc b/ipc/ipc_message_utils.cc index 06408b4..acb2452 100644 --- a/ipc/ipc_message_utils.cc +++ b/ipc/ipc_message_utils.cc @@ -4,7 +4,7 @@ #include "ipc/ipc_message_utils.h" -#include "base/json_writer.h" +#include "base/json/json_writer.h" #include "base/scoped_ptr.h" #include "base/time.h" #include "base/values.h" @@ -216,7 +216,7 @@ bool ParamTraits<DictionaryValue>::Read( void ParamTraits<DictionaryValue>::Log(const param_type& p, std::wstring* l) { std::string json; - JSONWriter::Write(&p, false, &json); + base::JSONWriter::Write(&p, false, &json); l->append(UTF8ToWide(json)); } @@ -235,7 +235,7 @@ bool ParamTraits<ListValue>::Read( void ParamTraits<ListValue>::Log(const param_type& p, std::wstring* l) { std::string json; - JSONWriter::Write(&p, false, &json); + base::JSONWriter::Write(&p, false, &json); l->append(UTF8ToWide(json)); } } // namespace IPC |