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 "sky/engine/config.h" | |
6 #include "sky/engine/core/script/dart_controller.h" | 5 #include "sky/engine/core/script/dart_controller.h" |
7 | 6 |
8 #include "base/bind.h" | 7 #include "base/bind.h" |
9 #include "base/logging.h" | 8 #include "base/logging.h" |
10 #include "base/single_thread_task_runner.h" | 9 #include "base/single_thread_task_runner.h" |
11 #include "base/trace_event/trace_event.h" | 10 #include "base/trace_event/trace_event.h" |
12 #include "dart/runtime/bin/embedded_dart_io.h" | 11 #include "dart/runtime/bin/embedded_dart_io.h" |
13 #include "dart/runtime/include/dart_mirrors_api.h" | 12 #include "dart/runtime/include/dart_mirrors_api.h" |
14 #include "gen/sky/platform/RuntimeEnabledFeatures.h" | 13 #include "gen/sky/platform/RuntimeEnabledFeatures.h" |
15 #include "sky/engine/bindings/builtin.h" | 14 #include "sky/engine/bindings/builtin.h" |
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
418 nullptr, // Isolate interrupt callback. | 417 nullptr, // Isolate interrupt callback. |
419 UnhandledExceptionCallback, IsolateShutdownCallback, | 418 UnhandledExceptionCallback, IsolateShutdownCallback, |
420 // File IO callbacks. | 419 // File IO callbacks. |
421 nullptr, nullptr, nullptr, nullptr, nullptr)); | 420 nullptr, nullptr, nullptr, nullptr, nullptr)); |
422 // Wait for load port- ensures handle watcher and service isolates are | 421 // Wait for load port- ensures handle watcher and service isolates are |
423 // running. | 422 // running. |
424 Dart_ServiceWaitForLoadPort(); | 423 Dart_ServiceWaitForLoadPort(); |
425 } | 424 } |
426 | 425 |
427 } // namespace blink | 426 } // namespace blink |
OLD | NEW |