From 1fdb095db9fba15d3639bb1a37b011989dd47d4d Mon Sep 17 00:00:00 2001 From: "thakis@chromium.org" Date: Tue, 12 Jan 2010 21:33:48 +0000 Subject: Mac: Unbreakpad. BUG=32100 TEST=no idea Review URL: http://codereview.chromium.org/548016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36047 0039d316-1c4b-4281-b951-d872f2087c98 --- base/mach_ipc_mac.h | 4 ++++ base/mach_ipc_mac.mm | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/base/mach_ipc_mac.h b/base/mach_ipc_mac.h index 7e9839c..1e88279 100644 --- a/base/mach_ipc_mac.h +++ b/base/mach_ipc_mac.h @@ -70,6 +70,8 @@ #define PRINT_MACH_RESULT(result_, message_) \ printf(message_" %s (%d)\n", mach_error_string(result_), result_ ); +namespace base { + //============================================================================== // A wrapper class for mach_msg_port_descriptor_t (with same memory layout) // with convenient constructors and accessors @@ -319,4 +321,6 @@ class MachPortSender { DISALLOW_COPY_AND_ASSIGN(MachPortSender); }; +} // namespace base + #endif // BASE_MACH_IPC_MAC_H_ diff --git a/base/mach_ipc_mac.mm b/base/mach_ipc_mac.mm index fc78bcc..973b66a 100644 --- a/base/mach_ipc_mac.mm +++ b/base/mach_ipc_mac.mm @@ -9,6 +9,8 @@ #include #include "base/logging.h" +namespace base { + //============================================================================== MachSendMessage::MachSendMessage(int32_t message_id) : MachMessage() { Initialize(message_id); @@ -306,3 +308,5 @@ kern_return_t MachPortSender::SendMessage(MachSendMessage &message, return result; } + +} // namespace base -- cgit v1.1