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

Side by Side Diff: mojo/edk/embedder/simple_platform_shared_buffer_win.cc

Issue 1543603002: Switch to standard integer types in mojo/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "mojo/edk/embedder/simple_platform_shared_buffer.h" 5 #include "mojo/edk/embedder/simple_platform_shared_buffer.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 #include <stddef.h>
9 #include <stdint.h>
8 10
9 #include <limits> 11 #include <limits>
10 12
11 #include "base/logging.h" 13 #include "base/logging.h"
12 #include "base/sys_info.h" 14 #include "base/sys_info.h"
13 #include "mojo/edk/embedder/platform_handle.h" 15 #include "mojo/edk/embedder/platform_handle.h"
14 #include "mojo/edk/embedder/scoped_platform_handle.h" 16 #include "mojo/edk/embedder/scoped_platform_handle.h"
15 17
16 namespace mojo { 18 namespace mojo {
17 namespace edk { 19 namespace edk {
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 81
80 // SimplePlatformSharedBufferMapping ------------------------------------------- 82 // SimplePlatformSharedBufferMapping -------------------------------------------
81 83
82 void SimplePlatformSharedBufferMapping::Unmap() { 84 void SimplePlatformSharedBufferMapping::Unmap() {
83 BOOL result = UnmapViewOfFile(real_base_); 85 BOOL result = UnmapViewOfFile(real_base_);
84 PLOG_IF(ERROR, !result) << "UnmapViewOfFile"; 86 PLOG_IF(ERROR, !result) << "UnmapViewOfFile";
85 } 87 }
86 88
87 } // namespace edk 89 } // namespace edk
88 } // namespace mojo 90 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/edk/embedder/simple_platform_shared_buffer_unittest.cc ('k') | mojo/edk/embedder/simple_platform_support.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698