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

Side by Side Diff: mojo/public/c/system/data_pipe.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/public/c/system/core.h ('k') | mojo/public/c/system/functions.h » ('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 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 // This file contains types/constants and functions specific to data pipes. 5 // This file contains types/constants and functions specific to data pipes.
6 // 6 //
7 // Note: This header should be compilable as C. 7 // Note: This header should be compilable as C.
8 8
9 #ifndef THIRD_PARTY_MOJO_SRC_MOJO_PUBLIC_C_SYSTEM_DATA_PIPE_H_ 9 #ifndef MOJO_PUBLIC_C_SYSTEM_DATA_PIPE_H_
10 #define THIRD_PARTY_MOJO_SRC_MOJO_PUBLIC_C_SYSTEM_DATA_PIPE_H_ 10 #define MOJO_PUBLIC_C_SYSTEM_DATA_PIPE_H_
11 11
12 #include "third_party/mojo/src/mojo/public/c/system/macros.h" 12 #include "mojo/public/c/system/macros.h"
13 #include "third_party/mojo/src/mojo/public/c/system/system_export.h" 13 #include "mojo/public/c/system/system_export.h"
14 #include "third_party/mojo/src/mojo/public/c/system/types.h" 14 #include "mojo/public/c/system/types.h"
15 15
16 // |MojoCreateDataPipeOptions|: Used to specify creation parameters for a data 16 // |MojoCreateDataPipeOptions|: Used to specify creation parameters for a data
17 // pipe to |MojoCreateDataPipe()|. 17 // pipe to |MojoCreateDataPipe()|.
18 // |uint32_t struct_size|: Set to the size of the |MojoCreateDataPipeOptions| 18 // |uint32_t struct_size|: Set to the size of the |MojoCreateDataPipeOptions|
19 // struct. (Used to allow for future extensions.) 19 // struct. (Used to allow for future extensions.)
20 // |MojoCreateDataPipeOptionsFlags flags|: Used to specify different modes of 20 // |MojoCreateDataPipeOptionsFlags flags|: Used to specify different modes of
21 // operation. 21 // operation.
22 // |MOJO_CREATE_DATA_PIPE_OPTIONS_FLAG_NONE|: No flags; default mode. 22 // |MOJO_CREATE_DATA_PIPE_OPTIONS_FLAG_NONE|: No flags; default mode.
23 // |uint32_t element_num_bytes|: The size of an element, in bytes. All 23 // |uint32_t element_num_bytes|: The size of an element, in bytes. All
24 // transactions and buffers will consist of an integral number of 24 // transactions and buffers will consist of an integral number of
(...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 // two-phase read (e.g., |MojoBeginReadData()| was not called or 356 // two-phase read (e.g., |MojoBeginReadData()| was not called or
357 // |MojoEndReadData()| has already been called). 357 // |MojoEndReadData()| has already been called).
358 MOJO_SYSTEM_EXPORT MojoResult 358 MOJO_SYSTEM_EXPORT MojoResult
359 MojoEndReadData(MojoHandle data_pipe_consumer_handle, 359 MojoEndReadData(MojoHandle data_pipe_consumer_handle,
360 uint32_t num_bytes_read); 360 uint32_t num_bytes_read);
361 361
362 #ifdef __cplusplus 362 #ifdef __cplusplus
363 } // extern "C" 363 } // extern "C"
364 #endif 364 #endif
365 365
366 #endif // THIRD_PARTY_MOJO_SRC_MOJO_PUBLIC_C_SYSTEM_DATA_PIPE_H_ 366 #endif // MOJO_PUBLIC_C_SYSTEM_DATA_PIPE_H_
OLDNEW
« no previous file with comments | « mojo/public/c/system/core.h ('k') | mojo/public/c/system/functions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698