Index: chrome/renderer/net/net_error_helper.h |
=================================================================== |
--- chrome/renderer/net/net_error_helper.h (revision 248295) |
+++ chrome/renderer/net/net_error_helper.h (working copy) |
@@ -7,6 +7,8 @@ |
#include <string> |
+#include "base/memory/scoped_ptr.h" |
+#include "chrome/common/localized_error.h" |
#include "chrome/common/net/net_error_info.h" |
#include "chrome/renderer/net/net_error_helper_core.h" |
#include "content/public/renderer/render_frame_observer.h" |
@@ -59,18 +61,25 @@ |
private: |
// NetErrorHelperCore::Delegate implementation: |
- virtual void GenerateLocalizedErrorPage(const blink::WebURLError& error, |
- bool is_failed_post, |
- std::string* html) const OVERRIDE; |
+ virtual void GenerateLocalizedErrorPage( |
+ const blink::WebURLError& error, |
+ bool is_failed_post, |
+ scoped_ptr<LocalizedError::ErrorPageParams> params, |
+ std::string* html) const OVERRIDE; |
virtual void LoadErrorPageInMainFrame(const std::string& html, |
const GURL& failed_url) OVERRIDE; |
virtual void UpdateErrorPage(const blink::WebURLError& error, |
bool is_failed_post) OVERRIDE; |
- virtual void FetchErrorPage(const GURL& url) OVERRIDE; |
+ virtual void FetchErrorPage(const GURL& fix_url, |
+ const std::string& fix_url_request_body) OVERRIDE; |
virtual void CancelFetchErrorPage() OVERRIDE; |
void OnNetErrorInfo(int status); |
- void OnSetAltErrorPageURL(const GURL& alternate_error_page_url); |
+ void OnSetLinkDoctorInfo(const GURL& alternate_error_page_url, |
+ const std::string& language, |
+ const std::string& country_code, |
+ const std::string& api_key, |
+ const GURL& search_url); |
void OnAlternateErrorPageRetrieved(const blink::WebURLResponse& response, |
const std::string& data); |