summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webframe_impl.h
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-23 19:11:48 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-23 19:11:48 +0000
commitb086e8071269fc23c6fb9fef3785da4e41a1d82c (patch)
tree7948c405ee492caa137259e13c2f20e2ad5dedd7 /webkit/glue/webframe_impl.h
parentafa82479fced750ebee50cba4ce94c23ba064ea6 (diff)
downloadchromium_src-b086e8071269fc23c6fb9fef3785da4e41a1d82c.zip
chromium_src-b086e8071269fc23c6fb9fef3785da4e41a1d82c.tar.gz
chromium_src-b086e8071269fc23c6fb9fef3785da4e41a1d82c.tar.bz2
Alt{Error,404}PageResourceFetcher cleanup.
This change modifies AltErrorPageResourceFetcher to use Callback so that we can eliminate Alt404PageResourceFetcher. This change also eliminates dependencies from AltErrorPageResourceFetcher on WebCore. BUG=15648 TEST=none R=tony Review URL: http://codereview.chromium.org/159262 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21419 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webframe_impl.h')
-rw-r--r--webkit/glue/webframe_impl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/webkit/glue/webframe_impl.h b/webkit/glue/webframe_impl.h
index 1795bc8..ad3d150 100644
--- a/webkit/glue/webframe_impl.h
+++ b/webkit/glue/webframe_impl.h
@@ -398,6 +398,11 @@ class WebFrameImpl : public WebFrame, public base::RefCounted<WebFrameImpl> {
void LoadJavaScriptURL(const WebCore::KURL& url);
+ // Callback function for download of alternate error pages. If the server is
+ // down or we take too long to download the page, |html| will be empty.
+ void AltErrorPageFinished(const GURL& unreachable_url,
+ const std::string& html);
+
// Valid between calls to BeginPrint() and EndPrint(). Containts the print
// information. Is used by PrintPage().
scoped_ptr<ChromePrintContext> print_context_;