| 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_DART_EMBEDDER_DART_CONTROLLER_H_ | 5 #ifndef MOJO_DART_EMBEDDER_DART_CONTROLLER_H_ |
| 6 #define MOJO_DART_EMBEDDER_DART_CONTROLLER_H_ | 6 #define MOJO_DART_EMBEDDER_DART_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include <unordered_set> | 8 #include <unordered_set> |
| 9 | 9 |
| 10 #include "base/synchronization/lock.h" | 10 #include "base/synchronization/lock.h" |
| 11 #include "dart/runtime/include/dart_api.h" | |
| 12 #include "mojo/dart/embedder/mojo_dart_state.h" | 11 #include "mojo/dart/embedder/mojo_dart_state.h" |
| 13 #include "mojo/public/c/system/types.h" | 12 #include "mojo/public/c/system/types.h" |
| 13 #include "mojo/public/third_party/dart/runtime/include/dart_api.h" |
| 14 | 14 |
| 15 namespace tonic { | 15 namespace tonic { |
| 16 class DartDependency; | 16 class DartDependency; |
| 17 class DartLibraryLoader; | 17 class DartLibraryLoader; |
| 18 } | 18 } |
| 19 | 19 |
| 20 namespace mojo { | 20 namespace mojo { |
| 21 namespace dart { | 21 namespace dart { |
| 22 | 22 |
| 23 struct DartControllerConfig { | 23 struct DartControllerConfig { |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 static bool initialized_; | 166 static bool initialized_; |
| 167 static bool strict_compilation_; | 167 static bool strict_compilation_; |
| 168 static bool service_isolate_running_; | 168 static bool service_isolate_running_; |
| 169 static DartControllerServiceConnector* service_connector_; | 169 static DartControllerServiceConnector* service_connector_; |
| 170 }; | 170 }; |
| 171 | 171 |
| 172 } // namespace dart | 172 } // namespace dart |
| 173 } // namespace mojo | 173 } // namespace mojo |
| 174 | 174 |
| 175 #endif // MOJO_DART_EMBEDDER_DART_CONTROLLER_H_ | 175 #endif // MOJO_DART_EMBEDDER_DART_CONTROLLER_H_ |
| OLD | NEW |