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/tools/test_shell/simple_appcache_system.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/tools/test_shell/simple_appcache_system.h')
-rw-r--r-- | webkit/tools/test_shell/simple_appcache_system.h | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/webkit/tools/test_shell/simple_appcache_system.h b/webkit/tools/test_shell/simple_appcache_system.h index 79fb19f..f4e8b71 100644 --- a/webkit/tools/test_shell/simple_appcache_system.h +++ b/webkit/tools/test_shell/simple_appcache_system.h @@ -20,7 +20,11 @@ class WebApplicationCacheHostClient; } class SimpleBackendProxy; class SimpleFrontendProxy; + +namespace net { class URLRequest; +} // namespace net + class URLRequestContext; // A class that composes the constituent parts of an appcache system @@ -63,7 +67,7 @@ class SimpleAppCacheSystem { } // Called by SimpleResourceLoaderBridge to hook into resource loads. - static void SetExtraRequestInfo(URLRequest* request, + static void SetExtraRequestInfo(net::URLRequest* request, int host_id, ResourceType::Type resource_type) { if (instance_) @@ -71,9 +75,9 @@ class SimpleAppCacheSystem { } // Called by SimpleResourceLoaderBridge extract extra response bits. - static void GetExtraResponseInfo(URLRequest* request, - int64* cache_id, - GURL* manifest_url) { + static void GetExtraResponseInfo(net::URLRequest* request, + int64* cache_id, + GURL* manifest_url) { if (instance_) instance_->GetExtraResponseBits(request, cache_id, manifest_url); } @@ -116,10 +120,10 @@ class SimpleAppCacheSystem { void CleanupIOThread(); WebKit::WebApplicationCacheHost* CreateCacheHostForWebKit( WebKit::WebApplicationCacheHostClient* client); - void SetExtraRequestBits(URLRequest* request, + void SetExtraRequestBits(net::URLRequest* request, int host_id, ResourceType::Type resource_type); - void GetExtraResponseBits(URLRequest* request, + void GetExtraResponseBits(net::URLRequest* request, int64* cache_id, GURL* manifest_url); |