Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(226)

Side by Side Diff: base/mach_ipc_mac.mm

Issue 549002: Mac: Other approach for IPCing child task_ts. (Closed)
Patch Set: '' Created 10 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « base/mach_ipc_mac.h ('k') | base/process_util.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/common/mach_ipc_mac.h" 5 #include "base/mach_ipc_mac.h"
6 6
7 #import <Foundation/Foundation.h> 7 #import <Foundation/Foundation.h>
8 8
9 #include <stdio.h> 9 #include <stdio.h>
10 #include "base/logging.h" 10 #include "base/logging.h"
11 11
12 //============================================================================== 12 //==============================================================================
13 MachSendMessage::MachSendMessage(int32_t message_id) : MachMessage() { 13 MachSendMessage::MachSendMessage(int32_t message_id) : MachMessage() {
14 Initialize(message_id); 14 Initialize(message_id);
15 } 15 }
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 kern_return_t result = mach_msg(message.Head(), 299 kern_return_t result = mach_msg(message.Head(),
300 MACH_SEND_MSG | MACH_SEND_TIMEOUT, 300 MACH_SEND_MSG | MACH_SEND_TIMEOUT,
301 message.Head()->msgh_size, 301 message.Head()->msgh_size,
302 0, 302 0,
303 MACH_PORT_NULL, 303 MACH_PORT_NULL,
304 timeout, // timeout in ms 304 timeout, // timeout in ms
305 MACH_PORT_NULL); 305 MACH_PORT_NULL);
306 306
307 return result; 307 return result;
308 } 308 }
OLDNEW
« no previous file with comments | « base/mach_ipc_mac.h ('k') | base/process_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698