| 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_DISPATCHER_H_ | 5 #ifndef MOJO_SYSTEM_DISPATCHER_H_ |
| 6 #define MOJO_SYSTEM_DISPATCHER_H_ | 6 #define MOJO_SYSTEM_DISPATCHER_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
| 15 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
| 16 #include "base/synchronization/lock.h" | 16 #include "base/synchronization/lock.h" |
| 17 #include "mojo/public/system/core.h" | 17 #include "mojo/public/c/system/core.h" |
| 18 // TODO(vtl): We need this since we can't forward declare | 18 // TODO(vtl): We need this since we can't forward declare |
| 19 // |RawSharedBuffer::Mapping|. Maybe fix this. | 19 // |RawSharedBuffer::Mapping|. Maybe fix this. |
| 20 #include "mojo/system/raw_shared_buffer.h" | 20 #include "mojo/system/raw_shared_buffer.h" |
| 21 #include "mojo/system/system_impl_export.h" | 21 #include "mojo/system/system_impl_export.h" |
| 22 | 22 |
| 23 namespace mojo { | 23 namespace mojo { |
| 24 namespace system { | 24 namespace system { |
| 25 | 25 |
| 26 class Channel; | 26 class Channel; |
| 27 class CoreImpl; | 27 class CoreImpl; |
| (...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 331 | 331 |
| 332 Dispatcher* dispatcher_; | 332 Dispatcher* dispatcher_; |
| 333 | 333 |
| 334 // Copy and assign allowed. | 334 // Copy and assign allowed. |
| 335 }; | 335 }; |
| 336 | 336 |
| 337 } // namespace system | 337 } // namespace system |
| 338 } // namespace mojo | 338 } // namespace mojo |
| 339 | 339 |
| 340 #endif // MOJO_SYSTEM_DISPATCHER_H_ | 340 #endif // MOJO_SYSTEM_DISPATCHER_H_ |
| OLD | NEW |