summaryrefslogtreecommitdiffstats
path: root/content/browser/frame_host/navigation_request.h
diff options
context:
space:
mode:
authorfdegans <fdegans@chromium.org>2015-07-06 06:59:35 -0700
committerCommit bot <commit-bot@chromium.org>2015-07-06 14:01:01 +0000
commit7fbe500b24aa0271f40b9c8e48c0cce365d9f33c (patch)
tree7b00400d1f9aa974479ee6f1267bd5dd19896055 /content/browser/frame_host/navigation_request.h
parent0898e7229adfcafd8e327685083fc587ecd388d6 (diff)
downloadchromium_src-7fbe500b24aa0271f40b9c8e48c0cce365d9f33c.zip
chromium_src-7fbe500b24aa0271f40b9c8e48c0cce365d9f33c.tar.gz
chromium_src-7fbe500b24aa0271f40b9c8e48c0cce365d9f33c.tar.bz2
PlzNavigate: Do not send synchronous navigations from the renderer to the browser.
This exposes ShouldMakeNetworkRequest to the renderer so it does not end up sending the navigation to the browser for synchronous navigations. This fixes WebRtcBrowserTest.CallInsideIframe. BUG=475027 Review URL: https://codereview.chromium.org/1222203004 Cr-Commit-Position: refs/heads/master@{#337388}
Diffstat (limited to 'content/browser/frame_host/navigation_request.h')
-rw-r--r--content/browser/frame_host/navigation_request.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/content/browser/frame_host/navigation_request.h b/content/browser/frame_host/navigation_request.h
index b92906c..133f698 100644
--- a/content/browser/frame_host/navigation_request.h
+++ b/content/browser/frame_host/navigation_request.h
@@ -54,11 +54,6 @@ class CONTENT_EXPORT NavigationRequest : public NavigationURLLoaderDelegate {
FAILED,
};
- // Helper function to determine if the navigation request to |url| should be
- // sent to the network stack. It will not be sent for data URLs or JavaScript
- // URLs, cases where no network request needs to be made.
- static bool ShouldMakeNetworkRequest(const GURL& url);
-
// Creates a request for a browser-intiated navigation.
static scoped_ptr<NavigationRequest> CreateBrowserInitiated(
FrameTreeNode* frame_tree_node,