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 #include "tonic/dart_debugger.h" | 5 #include "tonic/dart_debugger.h" |
6 | 6 |
7 #include "dart/runtime/include/dart_api.h" | 7 #include "mojo/public/third_party/dart/runtime/include/dart_api.h" |
8 #include "dart/runtime/include/dart_native_api.h" | 8 #include "mojo/public/third_party/dart/runtime/include/dart_native_api.h" |
9 #include "dart/runtime/include/dart_tools_api.h" | 9 #include "mojo/public/third_party/dart/runtime/include/dart_tools_api.h" |
10 | 10 |
11 | 11 |
12 namespace tonic { | 12 namespace tonic { |
13 | 13 |
14 MonitorLocker::~MonitorLocker() { | 14 MonitorLocker::~MonitorLocker() { |
15 monitor_->Exit(); | 15 monitor_->Exit(); |
16 } | 16 } |
17 | 17 |
18 void DartDebuggerIsolate::MessageLoop() { | 18 void DartDebuggerIsolate::MessageLoop() { |
19 MonitorLocker ml(&monitor_); | 19 MonitorLocker ml(&monitor_); |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 } | 133 } |
134 } | 134 } |
135 NOTREACHED(); | 135 NOTREACHED(); |
136 } | 136 } |
137 | 137 |
138 base::Lock* DartDebugger::lock_ = nullptr; | 138 base::Lock* DartDebugger::lock_ = nullptr; |
139 std::vector<std::unique_ptr<DartDebuggerIsolate>>* DartDebugger::isolates_ = | 139 std::vector<std::unique_ptr<DartDebuggerIsolate>>* DartDebugger::isolates_ = |
140 nullptr; | 140 nullptr; |
141 | 141 |
142 } // namespace tonic | 142 } // namespace tonic |
OLD | NEW |