| 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 TONIC_DART_DEBUGGER_H_ | 5 #ifndef TONIC_DART_DEBUGGER_H_ |
| 6 #define TONIC_DART_DEBUGGER_H_ | 6 #define TONIC_DART_DEBUGGER_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/synchronization/condition_variable.h" | 11 #include "base/synchronization/condition_variable.h" |
| 12 #include "base/synchronization/lock.h" | 12 #include "base/synchronization/lock.h" |
| 13 #include "dart/runtime/include/dart_api.h" | 13 #include "mojo/public/third_party/dart/runtime/include/dart_api.h" |
| 14 #include "dart/runtime/include/dart_native_api.h" | 14 #include "mojo/public/third_party/dart/runtime/include/dart_native_api.h" |
| 15 #include "dart/runtime/include/dart_tools_api.h" | 15 #include "mojo/public/third_party/dart/runtime/include/dart_tools_api.h" |
| 16 | 16 |
| 17 namespace base { | 17 namespace base { |
| 18 class Lock; | 18 class Lock; |
| 19 } | 19 } |
| 20 | 20 |
| 21 namespace tonic { | 21 namespace tonic { |
| 22 | 22 |
| 23 class Monitor { | 23 class Monitor { |
| 24 public: | 24 public: |
| 25 Monitor() { | 25 Monitor() { |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 | 130 |
| 131 static base::Lock* lock_; | 131 static base::Lock* lock_; |
| 132 static std::vector<std::unique_ptr<DartDebuggerIsolate>>* isolates_; | 132 static std::vector<std::unique_ptr<DartDebuggerIsolate>>* isolates_; |
| 133 | 133 |
| 134 friend class DartDebuggerIsolate; | 134 friend class DartDebuggerIsolate; |
| 135 }; | 135 }; |
| 136 | 136 |
| 137 } // namespace tonic | 137 } // namespace tonic |
| 138 | 138 |
| 139 #endif // TONIC_DART_DEBUGGER_H_ | 139 #endif // TONIC_DART_DEBUGGER_H_ |
| OLD | NEW |