| 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 scoped_ptr<RawSharedBufferMapping>* mapping) OVERRIDE; | 77 scoped_ptr<RawSharedBufferMapping>* mapping) OVERRIDE; |
| 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| methods: | 87 // |SimpleDispatcher| method: |
| 88 virtual MojoWaitFlags SatisfiedFlagsNoLock() const OVERRIDE; | 88 virtual WaitFlagsState GetWaitFlagsStateNoLock() const OVERRIDE; |
| 89 virtual MojoWaitFlags SatisfiableFlagsNoLock() const OVERRIDE; | |
| 90 | 89 |
| 91 scoped_refptr<RawSharedBuffer> shared_buffer_; | 90 scoped_refptr<RawSharedBuffer> shared_buffer_; |
| 92 | 91 |
| 93 DISALLOW_COPY_AND_ASSIGN(SharedBufferDispatcher); | 92 DISALLOW_COPY_AND_ASSIGN(SharedBufferDispatcher); |
| 94 }; | 93 }; |
| 95 | 94 |
| 96 } // namespace system | 95 } // namespace system |
| 97 } // namespace mojo | 96 } // namespace mojo |
| 98 | 97 |
| 99 #endif // MOJO_SYSTEM_SHARED_BUFFER_DISPATCHER_H_ | 98 #endif // MOJO_SYSTEM_SHARED_BUFFER_DISPATCHER_H_ |
| OLD | NEW |