Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(189)

Unified Diff: webkit/tools/test_shell/simple_appcache_system.h

Issue 5298008: net: Add namespace net to URLRequest and URLRequestJob classes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: some chromeos fixes Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webkit/tools/test_shell/simple_appcache_system.h
diff --git a/webkit/tools/test_shell/simple_appcache_system.h b/webkit/tools/test_shell/simple_appcache_system.h
index 79fb19fdb9d860abb3a43d2285f6f1a2e269d02e..f4e8b71ca3796c4dbbab74a6f79add2267cea2eb 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);
« webkit/appcache/appcache_request_handler.h ('K') | « webkit/fileapi/file_system_operation.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698