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_loader.h" | 5 #include "sky/engine/core/script/dart_loader.h" |
7 | 6 |
8 #include "base/callback.h" | 7 #include "base/callback.h" |
9 #include "base/trace_event/trace_event.h" | 8 #include "base/trace_event/trace_event.h" |
10 #include "mojo/common/data_pipe_drainer.h" | 9 #include "mojo/common/data_pipe_drainer.h" |
11 #include "sky/engine/core/script/dart_dependency_catcher.h" | 10 #include "sky/engine/core/script/dart_dependency_catcher.h" |
12 #include "sky/engine/core/script/dom_dart_state.h" | 11 #include "sky/engine/core/script/dom_dart_state.h" |
13 #include "sky/engine/platform/fetcher/MojoFetcher.h" | 12 #include "sky/engine/platform/fetcher/MojoFetcher.h" |
14 #include "sky/engine/platform/weborigin/KURL.h" | 13 #include "sky/engine/platform/weborigin/KURL.h" |
15 #include "sky/engine/tonic/dart_api_scope.h" | 14 #include "sky/engine/tonic/dart_api_scope.h" |
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
300 | 299 |
301 WatcherSignaler watcher_signaler(*this, job); | 300 WatcherSignaler watcher_signaler(*this, job); |
302 | 301 |
303 LOG(ERROR) << "Library Load failed: " << job->url().string().utf8().data(); | 302 LOG(ERROR) << "Library Load failed: " << job->url().string().utf8().data(); |
304 // TODO(eseidel): Call Dart_LibraryHandleError in the SourceJob case? | 303 // TODO(eseidel): Call Dart_LibraryHandleError in the SourceJob case? |
305 | 304 |
306 jobs_.remove(job); | 305 jobs_.remove(job); |
307 } | 306 } |
308 | 307 |
309 } // namespace blink | 308 } // namespace blink |
OLD | NEW |