OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_SYSTEM_CORE_IMPL_H_ | 5 #ifndef MOJO_SYSTEM_CORE_IMPL_H_ |
6 #define MOJO_SYSTEM_CORE_IMPL_H_ | 6 #define MOJO_SYSTEM_CORE_IMPL_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/containers/hash_tables.h" | 10 #include "base/containers/hash_tables.h" |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 const MojoHandle* handles, | 50 const MojoHandle* handles, |
51 uint32_t num_handles, | 51 uint32_t num_handles, |
52 MojoWriteMessageFlags flags) OVERRIDE; | 52 MojoWriteMessageFlags flags) OVERRIDE; |
53 virtual MojoResult ReadMessage(MojoHandle message_pipe_handle, | 53 virtual MojoResult ReadMessage(MojoHandle message_pipe_handle, |
54 void* bytes, | 54 void* bytes, |
55 uint32_t* num_bytes, | 55 uint32_t* num_bytes, |
56 MojoHandle* handles, | 56 MojoHandle* handles, |
57 uint32_t* num_handles, | 57 uint32_t* num_handles, |
58 MojoReadMessageFlags flags) OVERRIDE; | 58 MojoReadMessageFlags flags) OVERRIDE; |
59 virtual MojoResult CreateDataPipe( | 59 virtual MojoResult CreateDataPipe( |
60 const struct MojoCreateDataPipeOptions* options, | 60 const MojoCreateDataPipeOptions* options, |
61 MojoHandle* producer_handle, | 61 MojoHandle* data_pipe_producer_handle, |
62 MojoHandle* consumer_handle) OVERRIDE; | 62 MojoHandle* data_pipe_consumer_handle) OVERRIDE; |
63 virtual MojoResult WriteData(MojoHandle data_pipe_producer_handle, | 63 virtual MojoResult WriteData(MojoHandle data_pipe_producer_handle, |
64 const void* elements, | 64 const void* elements, |
65 uint32_t* num_elements, | 65 uint32_t* num_elements, |
66 MojoWriteDataFlags flags) OVERRIDE; | 66 MojoWriteDataFlags flags) OVERRIDE; |
67 virtual MojoResult BeginWriteData(MojoHandle data_pipe_producer_handle, | 67 virtual MojoResult BeginWriteData(MojoHandle data_pipe_producer_handle, |
68 void** buffer, | 68 void** buffer, |
69 uint32_t* buffer_num_elements, | 69 uint32_t* buffer_num_elements, |
70 MojoWriteDataFlags flags) OVERRIDE; | 70 MojoWriteDataFlags flags) OVERRIDE; |
71 virtual MojoResult EndWriteData(MojoHandle data_pipe_producer_handle, | 71 virtual MojoResult EndWriteData(MojoHandle data_pipe_producer_handle, |
72 uint32_t num_elements_written) OVERRIDE; | 72 uint32_t num_elements_written) OVERRIDE; |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 | 148 |
149 // --------------------------------------------------------------------------- | 149 // --------------------------------------------------------------------------- |
150 | 150 |
151 DISALLOW_COPY_AND_ASSIGN(CoreImpl); | 151 DISALLOW_COPY_AND_ASSIGN(CoreImpl); |
152 }; | 152 }; |
153 | 153 |
154 } // namespace system | 154 } // namespace system |
155 } // namespace mojo | 155 } // namespace mojo |
156 | 156 |
157 #endif // MOJO_SYSTEM_CORE_IMPL_H_ | 157 #endif // MOJO_SYSTEM_CORE_IMPL_H_ |
OLD | NEW |