Index: content/browser/loader/navigation_url_loader_network_service.h |
diff --git a/content/browser/loader/navigation_url_loader_network_service.h b/content/browser/loader/navigation_url_loader_network_service.h |
index 9e7af001a1c78cc84855ff8a7745d47a1f0c8bfd..59c23db2ba0868783e08514d51c1f4001205987b 100644 |
--- a/content/browser/loader/navigation_url_loader_network_service.h |
+++ b/content/browser/loader/navigation_url_loader_network_service.h |
@@ -6,9 +6,11 @@ |
#define CONTENT_BROWSER_LOADER_NAVIGATION_URL_LOADER_NETWORK_SERVICE_H_ |
#include "base/macros.h" |
+#include "base/memory/weak_ptr.h" |
#include "content/browser/loader/navigation_url_loader.h" |
#include "content/common/url_loader.mojom.h" |
#include "content/common/url_loader_factory.mojom.h" |
+#include "content/public/browser/browser_thread.h" |
#include "content/public/browser/ssl_status.h" |
#include "mojo/public/cpp/bindings/binding.h" |
#include "services/service_manager/public/cpp/connector.h" |
@@ -59,6 +61,8 @@ class NavigationURLLoaderNetworkService : public NavigationURLLoader, |
void OnComplete( |
const ResourceRequestCompletionStatus& completion_status) override; |
+ class IOLoader; |
+ |
private: |
NavigationURLLoaderDelegate* delegate_; |
@@ -67,6 +71,8 @@ class NavigationURLLoaderNetworkService : public NavigationURLLoader, |
mojom::URLLoaderAssociatedPtr url_loader_associated_ptr_; |
scoped_refptr<ResourceResponse> response_; |
SSLStatus ssl_status_; |
+ std::unique_ptr<ResourceRequest> new_request_; |
+ std::unique_ptr<IOLoader, BrowserThread::DeleteOnIOThread> io_loader_; |
DISALLOW_COPY_AND_ASSIGN(NavigationURLLoaderNetworkService); |
}; |