| Index: content/renderer/render_frame_impl.h
|
| diff --git a/content/renderer/render_frame_impl.h b/content/renderer/render_frame_impl.h
|
| index b08a73cc26c835ad65e149a4c0ce67937f1fe637..0feabfba98d562e5eb6e86eff016a600dbb99595 100644
|
| --- a/content/renderer/render_frame_impl.h
|
| +++ b/content/renderer/render_frame_impl.h
|
| @@ -660,6 +660,10 @@ class CONTENT_EXPORT RenderFrameImpl
|
| const GURL& stream_url,
|
| const CommonNavigationParams& common_params,
|
| const RequestNavigationParams& request_params);
|
| + void OnFailedNavigation(const CommonNavigationParams& common_params,
|
| + const RequestNavigationParams& request_params,
|
| + bool has_stale_copy_in_cache,
|
| + int error_code);
|
|
|
| // Virtual since overridden by WebTestProxy for layout tests.
|
| virtual blink::WebNavigationPolicy DecidePolicyForNavigation(
|
| @@ -739,6 +743,15 @@ class CONTENT_EXPORT RenderFrameImpl
|
| void LoadDataURL(const CommonNavigationParams& params,
|
| blink::WebFrame* frame);
|
|
|
| + // Sends a proper FrameHostMsg_DidFailProvisionalLoadWithError_Params IPC for
|
| + // the failed request |request|.
|
| + void SendFailedProvisionalLoad(const blink::WebURLRequest& request,
|
| + const blink::WebURLError& error,
|
| + blink::WebLocalFrame* frame);
|
| +
|
| + bool ShouldDisplayErrorPageForFailedLoad(int error_code,
|
| + const GURL& unreachable_url);
|
| +
|
| // Returns the URL being loaded by the |frame_|'s request.
|
| GURL GetLoadingUrl() const;
|
|
|
|
|