| Index: content/public/renderer/content_renderer_client.h
|
| diff --git a/content/public/renderer/content_renderer_client.h b/content/public/renderer/content_renderer_client.h
|
| index 24a45101a6d2810d326d165b3af4f169b6a59a11..ac6d8d7ec407bd649767771cf8f2ca8b816cd737 100644
|
| --- a/content/public/renderer/content_renderer_client.h
|
| +++ b/content/public/renderer/content_renderer_client.h
|
| @@ -99,6 +99,10 @@ class CONTENT_EXPORT ContentRendererClient {
|
| virtual bool HasErrorPage(int http_status_code,
|
| std::string* error_domain);
|
|
|
| + // Returns true if the embedder prefers not to show an error page for a failed
|
| + // navigation to |url|.
|
| + virtual bool ShouldSuppressErrorPage(const GURL& url);
|
| +
|
| // Returns the information to display when a navigation error occurs.
|
| // If |error_html| is not null then it may be set to a HTML page containing
|
| // the details of the error and maybe links to more info.
|
|
|