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

Side by Side Diff: ipc/attachment_broker_privileged_mac.cc

Issue 1546533002: Switch to standard integer types in ipc/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "ipc/attachment_broker_privileged_mac.h" 5 #include "ipc/attachment_broker_privileged_mac.h"
6 6
7 #include <stdint.h>
8
7 #include "base/mac/scoped_mach_port.h" 9 #include "base/mac/scoped_mach_port.h"
8 #include "base/memory/shared_memory.h" 10 #include "base/memory/shared_memory.h"
9 #include "base/process/port_provider_mac.h" 11 #include "base/process/port_provider_mac.h"
10 #include "base/process/process.h" 12 #include "base/process/process.h"
11 #include "base/synchronization/lock.h" 13 #include "base/synchronization/lock.h"
12 #include "ipc/attachment_broker_messages.h" 14 #include "ipc/attachment_broker_messages.h"
13 #include "ipc/brokerable_attachment.h" 15 #include "ipc/brokerable_attachment.h"
14 #include "ipc/ipc_channel.h" 16 #include "ipc/ipc_channel.h"
15 #include "ipc/mach_port_attachment_mac.h" 17 #include "ipc/mach_port_attachment_mac.h"
16 18
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after
440 442
441 auto it = extractors_.find(source_pid); 443 auto it = extractors_.find(source_pid);
442 if (it == extractors_.end()) 444 if (it == extractors_.end())
443 extractors_[source_pid] = new ScopedVector<AttachmentExtractor>; 445 extractors_[source_pid] = new ScopedVector<AttachmentExtractor>;
444 446
445 extractors_[source_pid]->push_back( 447 extractors_[source_pid]->push_back(
446 new AttachmentExtractor(source_pid, dest_pid, port, id)); 448 new AttachmentExtractor(source_pid, dest_pid, port, id));
447 } 449 }
448 450
449 } // namespace IPC 451 } // namespace IPC
OLDNEW
« no previous file with comments | « ipc/attachment_broker_privileged_mac.h ('k') | ipc/attachment_broker_privileged_mac_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698