| Index: sky/services/platform/platform_impl.cc
|
| diff --git a/sky/services/platform/platform_impl.cc b/sky/services/platform/platform_impl.cc
|
| index 08ef7f9db76ebbd881edaa5201be805ef6a31147..7ac71f90a3ec56ae81ca2b76aa56c59830a0005a 100644
|
| --- a/sky/services/platform/platform_impl.cc
|
| +++ b/sky/services/platform/platform_impl.cc
|
| @@ -9,9 +9,12 @@
|
|
|
| namespace sky {
|
|
|
| -PlatformImpl::PlatformImpl(mojo::NetworkServicePtr network_service)
|
| +PlatformImpl::PlatformImpl(
|
| + mojo::NetworkServicePtr network_service,
|
| + mojo::AuthenticatingURLLoaderFactoryPtr authenticating_url_loader_factory)
|
| : main_thread_task_runner_(base::MessageLoop::current()->task_runner()) {
|
| network_service_ = network_service.Pass();
|
| + authenticating_url_loader_factory_ = authenticating_url_loader_factory.Pass();
|
| }
|
|
|
| PlatformImpl::~PlatformImpl() {
|
| @@ -29,8 +32,14 @@ mojo::NetworkService* PlatformImpl::networkService() {
|
| return network_service_.get();
|
| }
|
|
|
| +mojo::AuthenticatingURLLoaderFactory*
|
| +PlatformImpl::authenticatingURLLoaderFactory() {
|
| + return authenticating_url_loader_factory_.get();
|
| +}
|
| +
|
| blink::WebURLLoader* PlatformImpl::createURLLoader() {
|
| - return new WebURLLoaderImpl(network_service_.get());
|
| + return new WebURLLoaderImpl(network_service_.get(),
|
| + authenticating_url_loader_factory_.get());
|
| }
|
|
|
| blink::WebURLError PlatformImpl::cancelledError(const blink::WebURL& url)
|
|
|