Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(468)

Unified Diff: webkit/glue/alt_error_page_resource_fetcher.h

Issue 159575: Move alternate error page loading out of WebFrame.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/data/iframe_dns_error.html ('k') | webkit/glue/alt_error_page_resource_fetcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/alt_error_page_resource_fetcher.h
===================================================================
--- webkit/glue/alt_error_page_resource_fetcher.h (revision 22154)
+++ webkit/glue/alt_error_page_resource_fetcher.h (working copy)
@@ -26,7 +26,7 @@
// This will be called when the alternative error page has been fetched,
// successfully or not. If there is a failure, the second parameter (the
// data) will be empty.
- typedef Callback2<const GURL&, const std::string&>::Type Callback;
+ typedef Callback3<WebFrame*, const GURL&, const std::string&>::Type Callback;
AltErrorPageResourceFetcher(const GURL& url,
WebFrame* frame,
@@ -44,6 +44,7 @@
// Does the actual fetching.
scoped_ptr<ResourceFetcherWithTimeout> fetcher_;
+ WebFrame* frame_;
scoped_ptr<Callback> callback_;
// The "unreachable url" associated with this load. If there's an error
« no previous file with comments | « chrome/test/data/iframe_dns_error.html ('k') | webkit/glue/alt_error_page_resource_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698