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

Unified Diff: content/browser/web_contents/web_contents_impl.cc

Issue 2335133003: PlzNavigate: support the WebRequest API (Closed)
Patch Set: Addressed comments + changes to NavigationHandleImpl following 2364943002 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/web_contents/web_contents_impl.cc
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
index 8e03cab4f9d8497878c5c8bb090683d560892004..f6a6a5ba4a9ccf21603ab4e3b0bf2c7e1400a5b9 100644
--- a/content/browser/web_contents/web_contents_impl.cc
+++ b/content/browser/web_contents/web_contents_impl.cc
@@ -4494,6 +4494,12 @@ ScopedVector<NavigationThrottle> WebContentsImpl::CreateThrottlesForNavigation(
navigation_handle);
}
+std::unique_ptr<NavigationUIData> WebContentsImpl::GetNavigationUIData(
+ NavigationHandle* navigation_handle) {
+ DCHECK(IsBrowserSideNavigationEnabled());
+ return GetContentClient()->browser()->GetNavigationUIData(navigation_handle);
+}
+
void WebContentsImpl::DidCancelLoading() {
controller_.DiscardNonCommittedEntries();

Powered by Google App Engine
This is Rietveld 408576698