summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/about_ipc_controller.mm
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-18 18:33:57 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-18 18:33:57 +0000
commit252cad6dec04039d456e716273153951d0090b5f (patch)
tree68437c27571fe3e88317f1f2848573fe647fdbb5 /chrome/browser/cocoa/about_ipc_controller.mm
parent371390a71a7e4530b39e46f1f52c5a6d5a3acd43 (diff)
downloadchromium_src-252cad6dec04039d456e716273153951d0090b5f.zip
chromium_src-252cad6dec04039d456e716273153951d0090b5f.tar.gz
chromium_src-252cad6dec04039d456e716273153951d0090b5f.tar.bz2
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
Diffstat (limited to 'chrome/browser/cocoa/about_ipc_controller.mm')
-rw-r--r--chrome/browser/cocoa/about_ipc_controller.mm8
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/cocoa/about_ipc_controller.mm b/chrome/browser/cocoa/about_ipc_controller.mm
index 32a9933..ccccf8b 100644
--- a/chrome/browser/cocoa/about_ipc_controller.mm
+++ b/chrome/browser/cocoa/about_ipc_controller.mm
@@ -38,19 +38,19 @@
}
- (NSString*)message {
- if (data_.message_name == L"") {
+ if (data_.message_name == "") {
int high = data_.type >> 12;
int low = data_.type - (high<<12);
return [NSString stringWithFormat:@"type=(%d,%d) 0x%x,0x%x",
high, low, high, low];
}
else {
- return base::SysWideToNSString(data_.message_name);
+ return base::SysUTF8ToNSString(data_.message_name);
}
}
- (NSString*)flags {
- return base::SysWideToNSString(data_.flags);
+ return base::SysUTF8ToNSString(data_.flags);
}
- (NSString*)dispatch {
@@ -68,7 +68,7 @@
}
- (NSString*)parameters {
- return base::SysWideToNSString(data_.params);
+ return base::SysUTF8ToNSString(data_.params);
}
@end