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

Unified Diff: content/browser/frame_host/navigation_handle_impl.cc

Issue 2335133003: PlzNavigate: support the WebRequest API (Closed)
Patch Set: Added missing comment 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/frame_host/navigation_handle_impl.cc
diff --git a/content/browser/frame_host/navigation_handle_impl.cc b/content/browser/frame_host/navigation_handle_impl.cc
index b95c691e3975168323163d65aa0197dbfcc15462..62b7571a55170184b83e082196bfef2c7ba07ca9 100644
--- a/content/browser/frame_host/navigation_handle_impl.cc
+++ b/content/browser/frame_host/navigation_handle_impl.cc
@@ -16,6 +16,7 @@
#include "content/common/frame_messages.h"
#include "content/common/resource_request_body_impl.h"
#include "content/public/browser/content_browser_client.h"
+#include "content/public/browser/navigation_ui_data.h"
#include "content/public/common/browser_side_navigation_policy.h"
#include "content/public/common/content_client.h"
#include "net/url_request/redirect_info.h"
@@ -374,6 +375,9 @@ void NavigationHandleImpl::WillStartRequest(
RegisterNavigationThrottles();
+ navigation_ui_data_ =
+ GetContentClient()->browser()->GetNavigationUIData(this);
+
// Notify each throttle of the request.
NavigationThrottle::ThrottleCheckResult result = CheckWillStartRequest();

Powered by Google App Engine
This is Rietveld 408576698