| 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 06f93e7a010b02c153e79c88f9c3503580c816aa..b793cd7359a96c5cb4f38dc2fa54bf0510b945bd 100644
|
| --- a/content/public/renderer/content_renderer_client.h
|
| +++ b/content/public/renderer/content_renderer_client.h
|
| @@ -101,6 +101,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.
|
|
|