| Index: sky/engine/core/script/dart_controller.h
|
| diff --git a/sky/engine/core/script/dart_controller.h b/sky/engine/core/script/dart_controller.h
|
| index af2de5feca30bb03d9e9f5aa46633069d12dbc7d..8834b84792c7c6947517f9b45641b5055ab482aa 100644
|
| --- a/sky/engine/core/script/dart_controller.h
|
| +++ b/sky/engine/core/script/dart_controller.h
|
| @@ -18,6 +18,7 @@ namespace blink {
|
| class AbstractModule;
|
| class BuiltinSky;
|
| class DOMDartState;
|
| +class DartSnapshotLoader;
|
| class DartValue;
|
| class HTMLScriptElement;
|
| class KURL;
|
| @@ -35,6 +36,7 @@ class DartController {
|
|
|
| // Can either issue the url load ourselves or take an existing response:
|
| void LoadMainLibrary(const KURL& url, mojo::URLResponsePtr response = nullptr);
|
| + void LoadSnapshot(const KURL& url, mojo::URLResponsePtr response = nullptr);
|
|
|
| void LoadScriptInModule(AbstractModule* module,
|
| const String& source,
|
| @@ -57,9 +59,11 @@ class DartController {
|
| const TextPosition& position);
|
|
|
| void DidLoadMainLibrary(KURL url);
|
| + void DidLoadSnapshot();
|
|
|
| OwnPtr<DOMDartState> dom_dart_state_;
|
| OwnPtr<BuiltinSky> builtin_sky_;
|
| + OwnPtr<DartSnapshotLoader> snapshot_loader_;
|
|
|
| base::WeakPtrFactory<DartController> weak_factory_;
|
|
|
|
|