Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(730)

Unified Diff: content/browser/loader/navigation_url_loader_network_service.h

Issue 2886843006: servificied service worker interception
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/BUILD.gn ('k') | content/browser/loader/navigation_url_loader_network_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
};
« no previous file with comments | « content/browser/BUILD.gn ('k') | content/browser/loader/navigation_url_loader_network_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698