diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-12 21:33:48 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-12 21:33:48 +0000 |
commit | 1fdb095db9fba15d3639bb1a37b011989dd47d4d (patch) | |
tree | 1b177aebdf2dab01fa2b95a63dd878a279ef5221 | |
parent | 6cc3969d17c5fb528e41d7b446f74856736a9833 (diff) | |
download | chromium_src-1fdb095db9fba15d3639bb1a37b011989dd47d4d.zip chromium_src-1fdb095db9fba15d3639bb1a37b011989dd47d4d.tar.gz chromium_src-1fdb095db9fba15d3639bb1a37b011989dd47d4d.tar.bz2 |
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
-rw-r--r-- | base/mach_ipc_mac.h | 4 | ||||
-rw-r--r-- | base/mach_ipc_mac.mm | 4 |
2 files changed, 8 insertions, 0 deletions
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 <stdio.h> #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 |