| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_MASTER_CONNECTION_MANAGER_H_ | 5 #ifndef MOJO_EDK_SYSTEM_MASTER_CONNECTION_MANAGER_H_ |
| 6 #define MOJO_EDK_SYSTEM_MASTER_CONNECTION_MANAGER_H_ | 6 #define MOJO_EDK_SYSTEM_MASTER_CONNECTION_MANAGER_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <unordered_map> | 10 #include <unordered_map> |
| 11 | 11 |
| 12 #include "base/memory/ref_counted.h" | |
| 13 #include "base/threading/thread.h" | 12 #include "base/threading/thread.h" |
| 14 #include "mojo/edk/embedder/platform_task_runner.h" | 13 #include "mojo/edk/embedder/platform_task_runner.h" |
| 15 #include "mojo/edk/embedder/scoped_platform_handle.h" | 14 #include "mojo/edk/embedder/scoped_platform_handle.h" |
| 16 #include "mojo/edk/system/connection_manager.h" | 15 #include "mojo/edk/system/connection_manager.h" |
| 17 #include "mojo/edk/system/mutex.h" | 16 #include "mojo/edk/system/mutex.h" |
| 18 #include "mojo/public/cpp/system/macros.h" | 17 #include "mojo/public/cpp/system/macros.h" |
| 19 | 18 |
| 20 namespace base { | 19 namespace base { |
| 21 class TaskRunner; | 20 class TaskRunner; |
| 22 } | 21 } |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 std::unordered_map<ProcessIdentifier, ProcessConnections*> connections_ | 169 std::unordered_map<ProcessIdentifier, ProcessConnections*> connections_ |
| 171 MOJO_GUARDED_BY(mutex_); // Owns its values. | 170 MOJO_GUARDED_BY(mutex_); // Owns its values. |
| 172 | 171 |
| 173 MOJO_DISALLOW_COPY_AND_ASSIGN(MasterConnectionManager); | 172 MOJO_DISALLOW_COPY_AND_ASSIGN(MasterConnectionManager); |
| 174 }; | 173 }; |
| 175 | 174 |
| 176 } // namespace system | 175 } // namespace system |
| 177 } // namespace mojo | 176 } // namespace mojo |
| 178 | 177 |
| 179 #endif // MOJO_EDK_SYSTEM_MASTER_CONNECTION_MANAGER_H_ | 178 #endif // MOJO_EDK_SYSTEM_MASTER_CONNECTION_MANAGER_H_ |
| OLD | NEW |