From ddb1e5ae096bd91da721887fd55e68c603bf7067 Mon Sep 17 00:00:00 2001 From: "erg@google.com" Date: Mon, 13 Dec 2010 20:10:45 +0000 Subject: Even more virtual method deinlining. BUG=none TEST=compiles Review URL: http://codereview.chromium.org/5741001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69041 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/appcache/appcache_url_request_job.cc | 4 ++++ webkit/appcache/appcache_url_request_job.h | 4 +--- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'webkit/appcache') 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_; -- cgit v1.1