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

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

Issue 2534393003: (Reland) Remove about:srcdoc url conversion. (Closed)
Patch Set: Rebase. Created 4 years 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 93d6b99d2dfa2acf4898ce6216306ed2dd67302c..54141071b13dccd5b9eb5cc77a33b2d7f56cb1b9 100644
--- a/content/browser/frame_host/navigation_handle_impl.cc
+++ b/content/browser/frame_host/navigation_handle_impl.cc
@@ -53,13 +53,12 @@ std::unique_ptr<NavigationHandleImpl> NavigationHandleImpl::Create(
FrameTreeNode* frame_tree_node,
bool is_renderer_initiated,
bool is_same_page,
- bool is_srcdoc,
const base::TimeTicks& navigation_start,
int pending_nav_entry_id,
NavigationGesture gesture,
bool started_from_context_menu) {
return std::unique_ptr<NavigationHandleImpl>(new NavigationHandleImpl(
- url, frame_tree_node, is_renderer_initiated, is_same_page, is_srcdoc,
+ url, frame_tree_node, is_renderer_initiated, is_same_page,
navigation_start, pending_nav_entry_id, gesture,
started_from_context_menu));
}
@@ -69,7 +68,6 @@ NavigationHandleImpl::NavigationHandleImpl(
FrameTreeNode* frame_tree_node,
bool is_renderer_initiated,
bool is_same_page,
- bool is_srcdoc,
const base::TimeTicks& navigation_start,
int pending_nav_entry_id,
NavigationGesture gesture,
@@ -82,7 +80,6 @@ NavigationHandleImpl::NavigationHandleImpl(
render_frame_host_(nullptr),
is_renderer_initiated_(is_renderer_initiated),
is_same_page_(is_same_page),
- is_srcdoc_(is_srcdoc),
was_redirected_(false),
connection_info_(net::HttpResponseInfo::CONNECTION_INFO_UNKNOWN),
original_url_(url),
@@ -171,10 +168,6 @@ bool NavigationHandleImpl::IsRendererInitiated() {
return is_renderer_initiated_;
}
-bool NavigationHandleImpl::IsSrcdoc() {
- return is_srcdoc_;
-}
-
bool NavigationHandleImpl::WasServerRedirect() {
return was_redirected_;
}
« no previous file with comments | « content/browser/frame_host/navigation_handle_impl.h ('k') | content/browser/frame_host/navigation_handle_impl_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698