| 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_EDK_SYSTEM_SHARED_BUFFER_DISPATCHER_H_ |
| 6 #define MOJO_EDK_SYSTEM_SHARED_BUFFER_DISPATCHER_H_ | 6 #define MOJO_EDK_SYSTEM_SHARED_BUFFER_DISPATCHER_H_ |
| 7 | 7 |
| 8 #include <utility> | 8 #include <utility> |
| 9 | 9 |
| 10 #include "mojo/edk/embedder/platform_shared_buffer.h" | 10 #include "mojo/edk/embedder/platform_shared_buffer.h" |
| 11 #include "mojo/edk/system/memory.h" | 11 #include "mojo/edk/system/memory.h" |
| 12 #include "mojo/edk/system/simple_dispatcher.h" | 12 #include "mojo/edk/system/simple_dispatcher.h" |
| 13 #include "mojo/edk/util/ref_ptr.h" | 13 #include "mojo/edk/util/ref_ptr.h" |
| 14 #include "mojo/edk/util/thread_annotations.h" |
| 14 #include "mojo/public/cpp/system/macros.h" | 15 #include "mojo/public/cpp/system/macros.h" |
| 15 | 16 |
| 16 namespace mojo { | 17 namespace mojo { |
| 17 | 18 |
| 18 namespace embedder { | 19 namespace embedder { |
| 19 class PlatformSupport; | 20 class PlatformSupport; |
| 20 } | 21 } |
| 21 | 22 |
| 22 namespace system { | 23 namespace system { |
| 23 | 24 |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 util::RefPtr<embedder::PlatformSharedBuffer> shared_buffer_ | 106 util::RefPtr<embedder::PlatformSharedBuffer> shared_buffer_ |
| 106 MOJO_GUARDED_BY(mutex()); | 107 MOJO_GUARDED_BY(mutex()); |
| 107 | 108 |
| 108 MOJO_DISALLOW_COPY_AND_ASSIGN(SharedBufferDispatcher); | 109 MOJO_DISALLOW_COPY_AND_ASSIGN(SharedBufferDispatcher); |
| 109 }; | 110 }; |
| 110 | 111 |
| 111 } // namespace system | 112 } // namespace system |
| 112 } // namespace mojo | 113 } // namespace mojo |
| 113 | 114 |
| 114 #endif // MOJO_EDK_SYSTEM_SHARED_BUFFER_DISPATCHER_H_ | 115 #endif // MOJO_EDK_SYSTEM_SHARED_BUFFER_DISPATCHER_H_ |
| OLD | NEW |