diff options
Diffstat (limited to 'webkit/appcache')
-rw-r--r-- | webkit/appcache/appcache_url_request_job.cc | 4 | ||||
-rw-r--r-- | webkit/appcache/appcache_url_request_job.h | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/webkit/appcache/appcache_url_request_job.cc b/webkit/appcache/appcache_url_request_job.cc index 9dc19ea..10245f7 100644 --- a/webkit/appcache/appcache_url_request_job.cc +++ b/webkit/appcache/appcache_url_request_job.cc @@ -256,6 +256,10 @@ int AppCacheURLRequestJob::GetResponseCode() const { return http_info()->headers->response_code(); } +bool AppCacheURLRequestJob::IsCachedContent() const { + return is_delivering_appcache_response(); +} + bool AppCacheURLRequestJob::ReadRawData(net::IOBuffer* buf, int buf_size, int *bytes_read) { DCHECK(is_delivering_appcache_response()); diff --git a/webkit/appcache/appcache_url_request_job.h b/webkit/appcache/appcache_url_request_job.h index 2b97291..f66ed54 100644 --- a/webkit/appcache/appcache_url_request_job.h +++ b/webkit/appcache/appcache_url_request_job.h @@ -125,9 +125,7 @@ class AppCacheURLRequestJob : public net::URLRequestJob, // FilterContext methods virtual bool GetMimeType(std::string* mime_type) const; virtual int GetResponseCode() const; - virtual bool IsCachedContent() const { - return is_delivering_appcache_response(); - } + virtual bool IsCachedContent() const; AppCacheStorage* storage_; bool has_been_started_; |