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

Side by Side Diff: base/memory/shared_memory_mac_unittest.cc

Issue 1549003002: Switch to standard integer types in base/memory/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/memory/shared_memory_mac.cc ('k') | base/memory/shared_memory_nacl.cc » ('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 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 <mach/mach.h> 5 #include <mach/mach.h>
6 #include <mach/mach_vm.h> 6 #include <mach/mach_vm.h>
7 #include <servers/bootstrap.h> 7 #include <servers/bootstrap.h>
8 #include <stddef.h>
9 #include <stdint.h>
8 10
9 #include "base/command_line.h" 11 #include "base/command_line.h"
10 #include "base/mac/mac_util.h" 12 #include "base/mac/mac_util.h"
11 #include "base/mac/mach_logging.h" 13 #include "base/mac/mach_logging.h"
12 #include "base/mac/scoped_mach_port.h" 14 #include "base/mac/scoped_mach_port.h"
15 #include "base/macros.h"
13 #include "base/memory/shared_memory.h" 16 #include "base/memory/shared_memory.h"
14 #include "base/process/process_handle.h" 17 #include "base/process/process_handle.h"
15 #include "base/rand_util.h" 18 #include "base/rand_util.h"
16 #include "base/strings/stringprintf.h" 19 #include "base/strings/stringprintf.h"
17 #include "base/sys_info.h" 20 #include "base/sys_info.h"
18 #include "base/test/multiprocess_test.h" 21 #include "base/test/multiprocess_test.h"
19 #include "base/test/test_timeouts.h" 22 #include "base/test/test_timeouts.h"
20 #include "testing/multiprocess_func_list.h" 23 #include "testing/multiprocess_func_list.h"
21 24
22 namespace base { 25 namespace base {
(...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after
477 480
478 // Intentionally map with |readonly| set to |false|. 481 // Intentionally map with |readonly| set to |false|.
479 SharedMemory shared_memory2(shm2, false); 482 SharedMemory shared_memory2(shm2, false);
480 shared_memory2.Map(s_memory_size); 483 shared_memory2.Map(s_memory_size);
481 } 484 }
482 485
483 EXPECT_EQ(active_name_count, GetActiveNameCount()); 486 EXPECT_EQ(active_name_count, GetActiveNameCount());
484 } 487 }
485 488
486 } // namespace base 489 } // namespace base
OLDNEW
« no previous file with comments | « base/memory/shared_memory_mac.cc ('k') | base/memory/shared_memory_nacl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698