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

Unified Diff: webkit/glue/alt_error_page_resource_fetcher.h

Issue 164225: Switch to WebFrame from the WebKit API.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 4 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 | « webkit/api/src/WebString.cpp ('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 22886)
+++ webkit/glue/alt_error_page_resource_fetcher.h (working copy)
@@ -10,9 +10,8 @@
#include "googleurl/src/gurl.h"
#include "webkit/api/public/WebURLError.h"
-class WebFrame;
-
namespace WebKit {
+class WebFrame;
class WebURLResponse;
}
@@ -26,11 +25,11 @@
// This will be called when the alternative error page has been fetched,
// successfully or not. If there is a failure, the third parameter (the
// data) will be empty.
- typedef Callback3<
- WebFrame*, const WebKit::WebURLError&, const std::string&>::Type Callback;
+ typedef Callback3<WebKit::WebFrame*, const WebKit::WebURLError&,
+ const std::string&>::Type Callback;
AltErrorPageResourceFetcher(const GURL& url,
- WebFrame* frame,
+ WebKit::WebFrame* frame,
const WebKit::WebURLError& original_error,
Callback* callback);
~AltErrorPageResourceFetcher();
@@ -45,7 +44,7 @@
// Does the actual fetching.
scoped_ptr<ResourceFetcherWithTimeout> fetcher_;
- WebFrame* frame_;
+ WebKit::WebFrame* frame_;
scoped_ptr<Callback> callback_;
// The error associated with this load. If there's an error talking with the
« no previous file with comments | « webkit/api/src/WebString.cpp ('k') | webkit/glue/alt_error_page_resource_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698