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

Side by Side Diff: mojo/edk/embedder/entrypoints.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 <stdint.h>
6
5 #include "mojo/edk/embedder/embedder_internal.h" 7 #include "mojo/edk/embedder/embedder_internal.h"
6 #include "mojo/edk/system/core.h" 8 #include "mojo/edk/system/core.h"
7 #include "mojo/public/c/system/buffer.h" 9 #include "mojo/public/c/system/buffer.h"
8 #include "mojo/public/c/system/data_pipe.h" 10 #include "mojo/public/c/system/data_pipe.h"
9 #include "mojo/public/c/system/functions.h" 11 #include "mojo/public/c/system/functions.h"
10 #include "mojo/public/c/system/message_pipe.h" 12 #include "mojo/public/c/system/message_pipe.h"
11 13
12 using mojo::edk::internal::g_core; 14 using mojo::edk::internal::g_core;
13 15
14 // TODO(use_chrome_edk): commented out since for now we use the entrypoints in 16 // TODO(use_chrome_edk): commented out since for now we use the entrypoints in
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 MojoMapBufferFlags flags) { 142 MojoMapBufferFlags flags) {
141 return g_core->MapBuffer(buffer_handle, offset, num_bytes, buffer, flags); 143 return g_core->MapBuffer(buffer_handle, offset, num_bytes, buffer, flags);
142 } 144 }
143 145
144 MojoResult MojoUnmapBuffer(void* buffer) { 146 MojoResult MojoUnmapBuffer(void* buffer) {
145 return g_core->UnmapBuffer(buffer); 147 return g_core->UnmapBuffer(buffer);
146 } 148 }
147 149
148 } // extern "C" 150 } // extern "C"
149 */ 151 */
OLDNEW
« no previous file with comments | « mojo/edk/embedder/embedder_unittest.cc ('k') | mojo/edk/embedder/platform_channel_pair_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698