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

Unified Diff: webkit/glue/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/glue/mimetype_unittest.cc ('k') | webkit/glue/resource_fetcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/resource_fetcher.h
===================================================================
--- webkit/glue/resource_fetcher.h (revision 22886)
+++ webkit/glue/resource_fetcher.h (working copy)
@@ -22,9 +22,9 @@
#include "webkit/api/public/WebURLResponse.h"
class GURL;
-class WebFrame;
namespace WebKit {
+class WebFrame;
class WebURLLoader;
class WebURLRequest;
struct WebURLError;
@@ -41,7 +41,8 @@
const std::string&>::Type Callback;
// We need a frame to make requests.
- ResourceFetcher(const GURL& url, WebFrame* frame, Callback* callback);
+ ResourceFetcher(
+ const GURL& url, WebKit::WebFrame* frame, Callback* callback);
~ResourceFetcher();
// Stop the request and don't call the callback.
@@ -82,7 +83,7 @@
private:
// Start the actual download.
- void Start(WebFrame* frame);
+ void Start(WebKit::WebFrame* frame);
// Buffer to hold the content from the server.
std::string data_;
@@ -92,7 +93,7 @@
// A resource fetcher with a timeout
class ResourceFetcherWithTimeout : public ResourceFetcher {
public:
- ResourceFetcherWithTimeout(const GURL& url, WebFrame* frame,
+ ResourceFetcherWithTimeout(const GURL& url, WebKit::WebFrame* frame,
int timeout_secs, Callback* c);
virtual ~ResourceFetcherWithTimeout() {}
« no previous file with comments | « webkit/glue/mimetype_unittest.cc ('k') | webkit/glue/resource_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698