| Index: sky/services/platform/weburlloader_impl.cc
|
| diff --git a/sky/services/platform/weburlloader_impl.cc b/sky/services/platform/weburlloader_impl.cc
|
| index 596bc599bb4fcfb4f01a5e6bc9c318bed02fe3f3..c5208c88f76488a2c241aedadfc24cb4631f9166 100644
|
| --- a/sky/services/platform/weburlloader_impl.cc
|
| +++ b/sky/services/platform/weburlloader_impl.cc
|
| @@ -9,6 +9,7 @@
|
| #include "base/strings/string_util.h"
|
| #include "base/thread_task_runner_handle.h"
|
| #include "mojo/common/common_type_converters.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/WebURLError.h"
|
| #include "sky/engine/public/platform/WebURLLoadTiming.h"
|
| @@ -69,10 +70,12 @@ blink::WebURLResponse ToWebURLResponse(const mojo::URLResponsePtr& url_response)
|
|
|
| } // namespace
|
|
|
| -WebURLLoaderImpl::WebURLLoaderImpl(mojo::NetworkService* network_service)
|
| - : client_(NULL),
|
| - weak_factory_(this) {
|
| - network_service->CreateURLLoader(GetProxy(&url_loader_));
|
| +WebURLLoaderImpl::WebURLLoaderImpl(
|
| + mojo::NetworkService* network_service,
|
| + mojo::AuthenticatingURLLoaderFactory* authenticating_url_loader_factory)
|
| + : client_(NULL), weak_factory_(this) {
|
| + authenticating_url_loader_factory->CreateAuthenticatingURLLoader(
|
| + GetProxy(&url_loader_));
|
| }
|
|
|
| WebURLLoaderImpl::~WebURLLoaderImpl() {
|
|
|