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

Unified Diff: content/browser/loader/navigation_url_loader_impl.cc

Issue 2335133003: PlzNavigate: support the WebRequest API (Closed)
Patch Set: PlzNavigate: support the WebRequest API Created 4 years, 3 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
Index: content/browser/loader/navigation_url_loader_impl.cc
diff --git a/content/browser/loader/navigation_url_loader_impl.cc b/content/browser/loader/navigation_url_loader_impl.cc
index cf716cc5baa30968f55e46f75f84718ca34d2802..e2bfbab2cae26734916214a2e6b19d6229d2a7c3 100644
--- a/content/browser/loader/navigation_url_loader_impl.cc
+++ b/content/browser/loader/navigation_url_loader_impl.cc
@@ -15,6 +15,7 @@
#include "content/public/browser/browser_context.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/navigation_data.h"
+#include "content/public/browser/navigation_ui_data.h"
#include "content/public/browser/stream_handle.h"
namespace content {
@@ -22,6 +23,7 @@ namespace content {
NavigationURLLoaderImpl::NavigationURLLoaderImpl(
BrowserContext* browser_context,
std::unique_ptr<NavigationRequestInfo> request_info,
+ std::unique_ptr<NavigationUIData> navigation_ui_data,
ServiceWorkerContextWrapper* service_worker_context_wrapper,
NavigationURLLoaderDelegate* delegate)
: delegate_(delegate), weak_factory_(this) {
@@ -41,7 +43,8 @@ NavigationURLLoaderImpl::NavigationURLLoaderImpl(
BrowserThread::IO, FROM_HERE,
base::Bind(&NavigationURLLoaderImplCore::Start, base::Unretained(core_),
browser_context->GetResourceContext(),
- service_worker_context_wrapper, base::Passed(&request_info)));
+ service_worker_context_wrapper, base::Passed(&request_info),
+ base::Passed(&navigation_ui_data)));
}
NavigationURLLoaderImpl::~NavigationURLLoaderImpl() {

Powered by Google App Engine
This is Rietveld 408576698