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

Side by Side Diff: mojo/edk/embedder/simple_platform_shared_buffer.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 <stddef.h>
8
7 #include <utility> 9 #include <utility>
8 10
9 #include "base/logging.h" 11 #include "base/logging.h"
10 #include "mojo/edk/embedder/platform_handle_utils.h" 12 #include "mojo/edk/embedder/platform_handle_utils.h"
11 13
12 namespace mojo { 14 namespace mojo {
13 namespace edk { 15 namespace edk {
14 16
15 // static 17 // static
16 SimplePlatformSharedBuffer* SimplePlatformSharedBuffer::Create( 18 SimplePlatformSharedBuffer* SimplePlatformSharedBuffer::Create(
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 void* SimplePlatformSharedBufferMapping::GetBase() const { 103 void* SimplePlatformSharedBufferMapping::GetBase() const {
102 return base_; 104 return base_;
103 } 105 }
104 106
105 size_t SimplePlatformSharedBufferMapping::GetLength() const { 107 size_t SimplePlatformSharedBufferMapping::GetLength() const {
106 return length_; 108 return length_;
107 } 109 }
108 110
109 } // namespace edk 111 } // namespace edk
110 } // namespace mojo 112 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/edk/embedder/scoped_platform_handle.h ('k') | mojo/edk/embedder/simple_platform_shared_buffer_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698