diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-28 13:11:52 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-28 13:11:52 +0000 |
commit | edfe7faba2f8685eb84b1821ba6fa054297e71fc (patch) | |
tree | b818efe30d5c178c8358cf75baffe371b5374109 /webkit/appcache/appcache_request_handler.h | |
parent | c0528f5013e9039d699dba6682bce248672d3937 (diff) | |
download | chromium_src-edfe7faba2f8685eb84b1821ba6fa054297e71fc.zip chromium_src-edfe7faba2f8685eb84b1821ba6fa054297e71fc.tar.gz chromium_src-edfe7faba2f8685eb84b1821ba6fa054297e71fc.tar.bz2 |
net: Add namespace net to URLRequest and URLRequestJob classes.
BUG=64263
TEST=compiled locally and trybots
Review URL: http://codereview.chromium.org/5298008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67497 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/appcache/appcache_request_handler.h')
-rw-r--r-- | webkit/appcache/appcache_request_handler.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/webkit/appcache/appcache_request_handler.h b/webkit/appcache/appcache_request_handler.h index 8577232..fcf7f8f 100644 --- a/webkit/appcache/appcache_request_handler.h +++ b/webkit/appcache/appcache_request_handler.h @@ -10,8 +10,10 @@ #include "webkit/appcache/appcache_host.h" #include "webkit/glue/resource_type.h" +namespace net { class URLRequest; class URLRequestJob; +} // namespace net namespace appcache { @@ -22,17 +24,17 @@ class AppCacheURLRequestJob; // given the opportunity to hijack the request along the way. Callers // should use AppCacheHost::CreateRequestHandler to manufacture instances // that can retrieve resources for a particular host. -class AppCacheRequestHandler : public URLRequest::UserData, +class AppCacheRequestHandler : public net::URLRequest::UserData, public AppCacheHost::Observer, public AppCacheStorage::Delegate { public: virtual ~AppCacheRequestHandler(); // These are called on each request intercept opportunity. - AppCacheURLRequestJob* MaybeLoadResource(URLRequest* request); - AppCacheURLRequestJob* MaybeLoadFallbackForRedirect(URLRequest* request, + AppCacheURLRequestJob* MaybeLoadResource(net::URLRequest* request); + AppCacheURLRequestJob* MaybeLoadFallbackForRedirect(net::URLRequest* request, const GURL& location); - AppCacheURLRequestJob* MaybeLoadFallbackForResponse(URLRequest* request); + AppCacheURLRequestJob* MaybeLoadFallbackForResponse(net::URLRequest* request); void GetExtraResponseInfo(int64* cache_id, GURL* manifest_url); @@ -68,7 +70,7 @@ class AppCacheRequestHandler : public URLRequest::UserData, // Main-resource loading ------------------------------------- // Frame and SharedWorker main resources are handled here. - void MaybeLoadMainResource(URLRequest* request); + void MaybeLoadMainResource(net::URLRequest* request); // AppCacheStorage::Delegate methods virtual void OnMainResponseFound( @@ -80,7 +82,7 @@ class AppCacheRequestHandler : public URLRequest::UserData, // Sub-resource loading ------------------------------------- // Dedicated worker and all manner of sub-resources are handled here. - void MaybeLoadSubResource(URLRequest* request); + void MaybeLoadSubResource(net::URLRequest* request); void ContinueMaybeLoadSubResource(); // AppCacheHost::Observer override |