summaryrefslogtreecommitdiffstats
path: root/webkit/glue/resource_fetcher.h
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-03 11:38:10 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-03 11:38:10 +0000
commitc4c01f7ef5c32e52abd09e6b826f82746282411f (patch)
tree3c34f4f13644d7831800b15a8206c2f50b711a7a /webkit/glue/resource_fetcher.h
parentab0eb293ec91e528e6f6e64474687ef07127a718 (diff)
downloadchromium_src-c4c01f7ef5c32e52abd09e6b826f82746282411f.zip
chromium_src-c4c01f7ef5c32e52abd09e6b826f82746282411f.tar.gz
chromium_src-c4c01f7ef5c32e52abd09e6b826f82746282411f.tar.bz2
Cleanup in webkit/glue/
- make more methods const - remove unneeded #includes BUG=7210 Review URL: http://codereview.chromium.org/19535 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9080 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/resource_fetcher.h')
-rw-r--r--webkit/glue/resource_fetcher.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/webkit/glue/resource_fetcher.h b/webkit/glue/resource_fetcher.h
index 91d08a1..b20d186 100644
--- a/webkit/glue/resource_fetcher.h
+++ b/webkit/glue/resource_fetcher.h
@@ -48,18 +48,18 @@ class ResourceFetcher : public WebCore::ResourceHandleClient {
// Stop the request and don't call the callback.
void Cancel();
- bool completed() { return completed_; }
+ bool completed() const { return completed_; }
// ResourceHandleClient methods
virtual void didReceiveResponse(WebCore::ResourceHandle* resource_handle,
const WebCore::ResourceResponse& response);
- virtual void didReceiveData(WebCore::ResourceHandle* resource_handle,
+ virtual void didReceiveData(WebCore::ResourceHandle* resource_handle,
const char* data, int length, int total_length);
virtual void didFinishLoading(WebCore::ResourceHandle* resource_handle);
- virtual void didFail(WebCore::ResourceHandle* resource_handle,
+ virtual void didFail(WebCore::ResourceHandle* resource_handle,
const WebCore::ResourceError& error);
protected: