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 3ed428b355021854c81604172f4364e2a6a33293..e09f9ce1ee4387dfc368128f979102d29c31b68b 100644 |
--- a/content/public/renderer/content_renderer_client.h |
+++ b/content/public/renderer/content_renderer_client.h |
@@ -67,10 +67,16 @@ class ContentRendererClient { |
WebKit::WebFrame* frame, |
int http_status_code) = 0; |
- // Returns the html to display when a navigation error occurs. |
- virtual std::string GetNavigationErrorHtml( |
+ // Returns the information to display when a navigation error occurs. |
+ // If |error_html| is not null then it will be set to a HTML page containing |
+ // the details of the error and maybe links to more info. |
+ // If |error_description| is not null it will be set to contain a brief |
+ // message describing the error that has occurred. |
+ virtual void GetNavigationErrorStrings( |
const WebKit::WebURLRequest& failed_request, |
- const WebKit::WebURLError& error) = 0; |
+ const WebKit::WebURLError& error, |
+ std::string* error_html, |
+ string16* error_description) = 0; |
// Returns true if the renderer process should schedule the idle handler when |
// all widgets are hidden. |