summaryrefslogtreecommitdiffstats
path: root/webkit/appcache/appcache_response.h
diff options
context:
space:
mode:
authormichaeln@google.com <michaeln@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-09 00:09:21 +0000
committermichaeln@google.com <michaeln@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-09 00:09:21 +0000
commit3367fc1dd134eeaf9ab6e62397f05ad3964319fe (patch)
tree78fb4d7ac912bbaf47b64f0aaefef331906b5fca /webkit/appcache/appcache_response.h
parent9f9e1fcbbd52267fa657b3b0b80ece683ceb6dd6 (diff)
downloadchromium_src-3367fc1dd134eeaf9ab6e62397f05ad3964319fe.zip
chromium_src-3367fc1dd134eeaf9ab6e62397f05ad3964319fe.tar.gz
chromium_src-3367fc1dd134eeaf9ab6e62397f05ad3964319fe.tar.bz2
AppCache changes to the networking model. Added new classes AppCacheRequestHandler and AppCacheURLRequestJob.
TEST=appcache_url_request_job_unittest.cc, appcache_request_handler_unittest.cc BUG=none Review URL: http://codereview.chromium.org/338034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31411 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/appcache/appcache_response.h')
-rw-r--r--webkit/appcache/appcache_response.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/webkit/appcache/appcache_response.h b/webkit/appcache/appcache_response.h
index 6b8e09a..419e739 100644
--- a/webkit/appcache/appcache_response.h
+++ b/webkit/appcache/appcache_response.h
@@ -8,6 +8,7 @@
#include "base/compiler_specific.h"
#include "base/ref_counted.h"
#include "base/scoped_ptr.h"
+#include "googleurl/src/gurl.h"
#include "net/base/completion_callback.h"
#include "net/http/http_response_info.h"
#include "webkit/appcache/appcache_interfaces.h"
@@ -30,12 +31,12 @@ class AppCacheResponseInfo
: public base::RefCounted<AppCacheResponseInfo> {
public:
// AppCacheResponseInfo takes ownership of the http_info.
- AppCacheResponseInfo(AppCacheService* service, int64 response_id,
- net::HttpResponseInfo* http_info);
- // TODO(michaeln): should the ctor/dtor be hidden from public view?
+ AppCacheResponseInfo(AppCacheService* service, const GURL& manifest_url,
+ int64 response_id, net::HttpResponseInfo* http_info);
+ // TODO(michaeln): should the ctor be hidden from public view?
+ const GURL& manifest_url() const { return manifest_url_; }
int64 response_id() const { return response_id_; }
-
const net::HttpResponseInfo* http_response_info() const {
return http_response_info_.get();
}
@@ -44,6 +45,7 @@ class AppCacheResponseInfo
friend class base::RefCounted<AppCacheResponseInfo>;
~AppCacheResponseInfo();
+ const GURL manifest_url_;
const int64 response_id_;
const scoped_ptr<net::HttpResponseInfo> http_response_info_;
const AppCacheService* service_;