summaryrefslogtreecommitdiffstats
path: root/content/browser/frame_host/navigation_request.h
diff options
context:
space:
mode:
authorclamy <clamy@chromium.org>2015-04-16 04:54:57 -0700
committerCommit bot <commit-bot@chromium.org>2015-04-16 11:55:13 +0000
commit62b271de77990e9cb5c530c8a27ff41f21f9b1b3 (patch)
tree92030b72561c2aff8766ed334ea2fbe9701e5c20 /content/browser/frame_host/navigation_request.h
parentab5970db8440d0a5e5ef22f83d84b4f658b52735 (diff)
downloadchromium_src-62b271de77990e9cb5c530c8a27ff41f21f9b1b3.zip
chromium_src-62b271de77990e9cb5c530c8a27ff41f21f9b1b3.tar.gz
chromium_src-62b271de77990e9cb5c530c8a27ff41f21f9b1b3.tar.bz2
PlzNavigate: Show error pages when the navigation failed before commit
This CL enables showing error pages when browser-side navigation is enabled. It introduces a new IPC FrameMsg_FailedNavigation used by the browser to ask a renderer to display an appropriate error page for a navigation that just failed. BUG=459033 Review URL: https://codereview.chromium.org/958083002 Cr-Commit-Position: refs/heads/master@{#325425}
Diffstat (limited to 'content/browser/frame_host/navigation_request.h')
-rw-r--r--content/browser/frame_host/navigation_request.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/browser/frame_host/navigation_request.h b/content/browser/frame_host/navigation_request.h
index cfb94bf..ce5c546 100644
--- a/content/browser/frame_host/navigation_request.h
+++ b/content/browser/frame_host/navigation_request.h
@@ -134,7 +134,7 @@ class CONTENT_EXPORT NavigationRequest : public NavigationURLLoaderDelegate {
const scoped_refptr<ResourceResponse>& response) override;
void OnResponseStarted(const scoped_refptr<ResourceResponse>& response,
scoped_ptr<StreamHandle> body) override;
- void OnRequestFailed(int net_error) override;
+ void OnRequestFailed(bool has_stale_copy_in_cache, int net_error) override;
void OnRequestStarted(base::TimeTicks timestamp) override;
FrameTreeNode* frame_tree_node_;