| 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 270aabd06088ea5436f88a4bae57a4bb83c20496..606c816788254c928e7b9e21172cad3a6e41f929 100644
|
| --- a/sky/engine/core/script/dart_controller.h
|
| +++ b/sky/engine/core/script/dart_controller.h
|
| @@ -9,6 +9,7 @@
|
| #include "base/macros.h"
|
| #include "base/memory/weak_ptr.h"
|
| #include "dart/runtime/include/dart_api.h"
|
| +#include "mojo/services/network/public/interfaces/url_loader.mojom.h"
|
| #include "sky/engine/wtf/OwnPtr.h"
|
| #include "sky/engine/wtf/text/AtomicString.h"
|
| #include "sky/engine/wtf/text/TextPosition.h"
|
| @@ -32,7 +33,8 @@ class DartController {
|
| typedef base::Callback<void(RefPtr<AbstractModule>, RefPtr<DartValue>)>
|
| LoadFinishedCallback;
|
|
|
| - void LoadMainLibrary(const KURL& url);
|
| + // Can either issue the url load ourselves or take an existing response:
|
| + void LoadMainLibrary(const KURL& url, mojo::URLResponsePtr response = nullptr);
|
|
|
| void LoadScriptInModule(AbstractModule* module,
|
| const String& source,
|
|
|