Index: sky/services/platform/weburlloader_impl.h |
diff --git a/sky/services/platform/weburlloader_impl.h b/sky/services/platform/weburlloader_impl.h |
index 3372f437467a610ab248768b58191533df5d9da5..3b19c2a9a7615ea421a0280e10e21bca9d017fe7 100644 |
--- a/sky/services/platform/weburlloader_impl.h |
+++ b/sky/services/platform/weburlloader_impl.h |
@@ -7,11 +7,12 @@ |
#include "base/memory/weak_ptr.h" |
#include "mojo/common/handle_watcher.h" |
-#include "mojo/services/network/public/interfaces/url_loader.mojom.h" |
+#include "mojo/services/authenticating_url_loader/public/interfaces/authenticating_url_loader.mojom.h" |
#include "sky/engine/public/platform/WebURLLoader.h" |
#include "sky/engine/public/platform/WebURLRequest.h" |
namespace mojo { |
+class AuthenticatingURLLoaderFactory; |
class NetworkService; |
} |
@@ -19,7 +20,9 @@ namespace sky { |
class WebURLLoaderImpl : public blink::WebURLLoader { |
public: |
- explicit WebURLLoaderImpl(mojo::NetworkService* network_service); |
+ explicit WebURLLoaderImpl( |
+ mojo::NetworkService* network_service, |
+ mojo::AuthenticatingURLLoaderFactory* authenticating_url_loader_factory); |
private: |
virtual ~WebURLLoaderImpl(); |
@@ -38,7 +41,7 @@ class WebURLLoaderImpl : public blink::WebURLLoader { |
blink::WebURLLoaderClient* client_; |
GURL url_; |
- mojo::URLLoaderPtr url_loader_; |
+ mojo::AuthenticatingURLLoaderPtr url_loader_; |
mojo::ScopedDataPipeConsumerHandle response_body_stream_; |
mojo::common::HandleWatcher handle_watcher_; |