From 252cad6dec04039d456e716273153951d0090b5f Mon Sep 17 00:00:00 2001 From: "erg@google.com" <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> Date: Wed, 18 Aug 2010 18:33:57 +0000 Subject: Remove all wstrings from the IPC logging subsystem. Changes all IPC Log methods from wstring to string. All static logging debug data changed from wchar[] to char[]. Various string conversion/numeric headers no longer need to be included in ipc_message_utils.h and have been removed (and added in all implementation files that require them). BUG=none TEST=none Review URL: http://codereview.chromium.org/3159013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56563 0039d316-1c4b-4281-b951-d872f2087c98 --- ipc/ipc_message.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ipc/ipc_message.h') diff --git a/ipc/ipc_message.h b/ipc/ipc_message.h index 75cdd23..bff0ff70 100644 --- a/ipc/ipc_message.h +++ b/ipc/ipc_message.h @@ -157,7 +157,7 @@ class Message : public Pickle { } // Used for async messages with no parameters. - static void Log(const Message* msg, std::wstring* l) { + static void Log(const Message* msg, std::string* l) { } // Find the end of the message data that starts at range_start. Returns NULL @@ -185,8 +185,8 @@ class Message : public Pickle { void set_received_time(int64 time) const; int64 received_time() const { return received_time_; } - void set_output_params(const std::wstring& op) const { output_params_ = op; } - const std::wstring& output_params() const { return output_params_; } + void set_output_params(const std::string& op) const { output_params_ = op; } + const std::string& output_params() const { return output_params_; } // The following four functions are needed so we can log sync messages with // delayed replies. We stick the log data from the sent message into the // reply message, so that when it's sent and we have the output parameters @@ -257,7 +257,7 @@ class Message : public Pickle { #ifdef IPC_MESSAGE_LOG_ENABLED // Used for logging. mutable int64 received_time_; - mutable std::wstring output_params_; + mutable std::string output_params_; mutable LogData* log_data_; mutable bool dont_log_; #endif -- cgit v1.1