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

Side by Side Diff: mojo/platform_handle/platform_handle_functions.h

Issue 1410053006: Move third_party/mojo/src/mojo/public to mojo/public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 years, 1 month 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 | « mojo/platform_handle/BUILD.gn ('k') | mojo/public/BUILD.gn » ('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 #ifndef MOJO_PLATFORM_HANDLE_PLATFORM_HANDLE_FUNCTIONS_H_ 5 #ifndef MOJO_PLATFORM_HANDLE_PLATFORM_HANDLE_FUNCTIONS_H_
6 #define MOJO_PLATFORM_HANDLE_PLATFORM_HANDLE_FUNCTIONS_H_ 6 #define MOJO_PLATFORM_HANDLE_PLATFORM_HANDLE_FUNCTIONS_H_
7 7
8 #include "mojo/platform_handle/platform_handle.h" 8 #include "mojo/platform_handle/platform_handle.h"
9 #include "mojo/platform_handle/platform_handle_exports.h" 9 #include "mojo/platform_handle/platform_handle_exports.h"
10 #include "third_party/mojo/src/mojo/public/c/system/types.h" 10 #include "mojo/public/c/system/types.h"
11 11
12 extern "C" { 12 extern "C" {
13 13
14 // Wraps |platform_handle| in a MojoHandle so that it can transported, returns 14 // Wraps |platform_handle| in a MojoHandle so that it can transported, returns
15 // true on success. This takes ownership of |platform_handle|, regardless of 15 // true on success. This takes ownership of |platform_handle|, regardless of
16 // whether this succeeds. 16 // whether this succeeds.
17 PLATFORM_HANDLE_EXPORT MojoResult 17 PLATFORM_HANDLE_EXPORT MojoResult
18 MojoCreatePlatformHandleWrapper(MojoPlatformHandle platform_handle, 18 MojoCreatePlatformHandleWrapper(MojoPlatformHandle platform_handle,
19 MojoHandle* wrapper); 19 MojoHandle* wrapper);
20 20
21 PLATFORM_HANDLE_EXPORT MojoResult 21 PLATFORM_HANDLE_EXPORT MojoResult
22 MojoExtractPlatformHandle(MojoHandle wrapper, 22 MojoExtractPlatformHandle(MojoHandle wrapper,
23 MojoPlatformHandle* platform_handle); 23 MojoPlatformHandle* platform_handle);
24 24
25 } // extern "C" 25 } // extern "C"
26 26
27 #endif // MOJO_PLATFORM_HANDLE_PLATFORM_HANDLE_FUNCTIONS_H_ 27 #endif // MOJO_PLATFORM_HANDLE_PLATFORM_HANDLE_FUNCTIONS_H_
OLDNEW
« no previous file with comments | « mojo/platform_handle/BUILD.gn ('k') | mojo/public/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698