summaryrefslogtreecommitdiffstats
path: root/webkit/appcache/appcache_update_job.h
diff options
context:
space:
mode:
authorjennb@chromium.org <jennb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-22 18:22:23 +0000
committerjennb@chromium.org <jennb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-22 18:22:23 +0000
commitbdd42287e26666cb9230de0102045ccaa1e29207 (patch)
treefa5b66de3a049c67045e3cb5014b9d4d172efe17 /webkit/appcache/appcache_update_job.h
parent1c5491c13d721e264432fe75e4030017b1ee10e8 (diff)
downloadchromium_src-bdd42287e26666cb9230de0102045ccaa1e29207.zip
chromium_src-bdd42287e26666cb9230de0102045ccaa1e29207.tar.gz
chromium_src-bdd42287e26666cb9230de0102045ccaa1e29207.tar.bz2
Make appcache update conditionally include If-Modified-Since and If-None-Match headers when fetching a manifest.
TEST=new tests added BUG=none Review URL: http://codereview.chromium.org/500152 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35153 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/appcache/appcache_update_job.h')
-rw-r--r--webkit/appcache/appcache_update_job.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/webkit/appcache/appcache_update_job.h b/webkit/appcache/appcache_update_job.h
index 840840d..0d343f0 100644
--- a/webkit/appcache/appcache_update_job.h
+++ b/webkit/appcache/appcache_update_job.h
@@ -91,6 +91,11 @@ class AppCacheUpdateJob : public URLRequest::Delegate,
void FetchManifest(bool is_first_fetch);
+ // Add extra HTTP headers to the request based on the response info and
+ // start the URL request.
+ void AddHttpHeadersAndFetch(URLRequest* request,
+ const net::HttpResponseInfo* info);
+
void OnResponseCompleted(URLRequest* request);
// Retries a 503 request with retry-after header of 0.