| 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_EDK_SYSTEM_SHARED_BUFFER_DISPATCHER_H_ | 5 #ifndef MOJO_SYSTEM_SHARED_BUFFER_DISPATCHER_H_ |
| 6 #define MOJO_EDK_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/edk/embedder/platform_shared_buffer.h" | 9 #include "mojo/embedder/platform_shared_buffer.h" |
| 10 #include "mojo/edk/system/memory.h" | 10 #include "mojo/system/memory.h" |
| 11 #include "mojo/edk/system/simple_dispatcher.h" | 11 #include "mojo/system/simple_dispatcher.h" |
| 12 #include "mojo/edk/system/system_impl_export.h" | 12 #include "mojo/system/system_impl_export.h" |
| 13 | 13 |
| 14 namespace mojo { | 14 namespace mojo { |
| 15 | 15 |
| 16 namespace embedder { | 16 namespace embedder { |
| 17 class PlatformSupport; | 17 class PlatformSupport; |
| 18 } | 18 } |
| 19 | 19 |
| 20 namespace system { | 20 namespace system { |
| 21 | 21 |
| 22 // TODO(vtl): We derive from SimpleDispatcher, even though we don't currently | 22 // TODO(vtl): We derive from SimpleDispatcher, even though we don't currently |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 embedder::PlatformHandleVector* platform_handles) override; | 93 embedder::PlatformHandleVector* platform_handles) override; |
| 94 | 94 |
| 95 scoped_refptr<embedder::PlatformSharedBuffer> shared_buffer_; | 95 scoped_refptr<embedder::PlatformSharedBuffer> shared_buffer_; |
| 96 | 96 |
| 97 DISALLOW_COPY_AND_ASSIGN(SharedBufferDispatcher); | 97 DISALLOW_COPY_AND_ASSIGN(SharedBufferDispatcher); |
| 98 }; | 98 }; |
| 99 | 99 |
| 100 } // namespace system | 100 } // namespace system |
| 101 } // namespace mojo | 101 } // namespace mojo |
| 102 | 102 |
| 103 #endif // MOJO_EDK_SYSTEM_SHARED_BUFFER_DISPATCHER_H_ | 103 #endif // MOJO_SYSTEM_SHARED_BUFFER_DISPATCHER_H_ |
| OLD | NEW |