OLD | NEW |
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 #ifndef MOJO_SYSTEM_SHARED_BUFFER_DISPATCHER_H_ | 5 #ifndef MOJO_SYSTEM_SHARED_BUFFER_DISPATCHER_H_ |
6 #define MOJO_SYSTEM_SHARED_BUFFER_DISPATCHER_H_ | 6 #define MOJO_SYSTEM_SHARED_BUFFER_DISPATCHER_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "mojo/system/raw_shared_buffer.h" | 9 #include "mojo/system/raw_shared_buffer.h" |
10 #include "mojo/system/simple_dispatcher.h" | 10 #include "mojo/system/simple_dispatcher.h" |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 virtual void StartSerializeImplNoLock(Channel* channel, | 78 virtual void StartSerializeImplNoLock(Channel* channel, |
79 size_t* max_size, | 79 size_t* max_size, |
80 size_t* max_platform_handles) OVERRIDE; | 80 size_t* max_platform_handles) OVERRIDE; |
81 virtual bool EndSerializeAndCloseImplNoLock( | 81 virtual bool EndSerializeAndCloseImplNoLock( |
82 Channel* channel, | 82 Channel* channel, |
83 void* destination, | 83 void* destination, |
84 size_t* actual_size, | 84 size_t* actual_size, |
85 embedder::PlatformHandleVector* platform_handles) OVERRIDE; | 85 embedder::PlatformHandleVector* platform_handles) OVERRIDE; |
86 | 86 |
87 // |SimpleDispatcher| method: | 87 // |SimpleDispatcher| method: |
88 virtual WaitFlagsState GetWaitFlagsStateNoLock() const OVERRIDE; | 88 virtual HandleSignalsState GetHandleSignalsStateNoLock() const OVERRIDE; |
89 | 89 |
90 scoped_refptr<RawSharedBuffer> shared_buffer_; | 90 scoped_refptr<RawSharedBuffer> shared_buffer_; |
91 | 91 |
92 DISALLOW_COPY_AND_ASSIGN(SharedBufferDispatcher); | 92 DISALLOW_COPY_AND_ASSIGN(SharedBufferDispatcher); |
93 }; | 93 }; |
94 | 94 |
95 } // namespace system | 95 } // namespace system |
96 } // namespace mojo | 96 } // namespace mojo |
97 | 97 |
98 #endif // MOJO_SYSTEM_SHARED_BUFFER_DISPATCHER_H_ | 98 #endif // MOJO_SYSTEM_SHARED_BUFFER_DISPATCHER_H_ |
OLD | NEW |