| Index: sky/services/platform/platform_impl.h
|
| diff --git a/sky/services/platform/platform_impl.h b/sky/services/platform/platform_impl.h
|
| index 2f6a3d588e7ab4866caed05d43b57590f3eca56a..1768b8d689b7fbabfac6f382b96573b674e260db 100644
|
| --- a/sky/services/platform/platform_impl.h
|
| +++ b/sky/services/platform/platform_impl.h
|
| @@ -6,6 +6,7 @@
|
| #define SKY_VIEWER_PLATFORM_PLATFORM_IMPL_H_
|
|
|
| #include "base/message_loop/message_loop.h"
|
| +#include "mojo/services/authenticating_url_loader/public/interfaces/authenticating_url_loader_factory.mojom.h"
|
| #include "mojo/services/network/public/interfaces/network_service.mojom.h"
|
| #include "sky/engine/public/platform/Platform.h"
|
|
|
| @@ -17,18 +18,23 @@ namespace sky {
|
|
|
| class PlatformImpl : public blink::Platform {
|
| public:
|
| - explicit PlatformImpl(mojo::NetworkServicePtr network_service);
|
| + explicit PlatformImpl(mojo::NetworkServicePtr network_service,
|
| + mojo::AuthenticatingURLLoaderFactoryPtr
|
| + authenticating_url_loader_factory);
|
| ~PlatformImpl() override;
|
|
|
| // blink::Platform methods:
|
| blink::WebString defaultLocale() override;
|
| base::SingleThreadTaskRunner* mainThreadTaskRunner() override;
|
| mojo::NetworkService* networkService() override;
|
| + mojo::AuthenticatingURLLoaderFactory* authenticatingURLLoaderFactory()
|
| + override;
|
| blink::WebURLLoader* createURLLoader() override;
|
| blink::WebURLError cancelledError(const blink::WebURL& url) const override;
|
|
|
| private:
|
| mojo::NetworkServicePtr network_service_;
|
| + mojo::AuthenticatingURLLoaderFactoryPtr authenticating_url_loader_factory_;
|
| scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(PlatformImpl);
|
|
|