From d14c7ac0a14a2dc3984022aeadf830a3e30c99f3 Mon Sep 17 00:00:00 2001 From: "hclam@chromium.org" Date: Fri, 29 May 2009 20:38:11 +0000 Subject: Remove code path that passes a file handle to the renderer Since the code now does range request without any caching the code path for passing file handle is not used any more. Changes: 1. Remove response_data_file in webkit_glue::ResourceResponseHead 2. Remove response_data_file in net::ResourceInfo 3. Remove code that passes file handle using IPC 4. Remove code that passes file hadnle from network layer to ResourceDispatcherHost 5. Remove MediaResourceHandler 6. Remove code in disk_cache that expose the file handle 7. Remove ChromeURLRequestContext::CreateOffTheRecordForMedia() so no more OTR request context for media, in OTR mode simply memory cache is used 8. Reset cache size for media cache to default BUG=12249 BUG=12256 Review URL: http://codereview.chromium.org/113931 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17227 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/net/chrome_url_request_context.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'chrome/browser/net/chrome_url_request_context.h') diff --git a/chrome/browser/net/chrome_url_request_context.h b/chrome/browser/net/chrome_url_request_context.h index 5ef64d6..bf8d119 100644 --- a/chrome/browser/net/chrome_url_request_context.h +++ b/chrome/browser/net/chrome_url_request_context.h @@ -47,10 +47,6 @@ class ChromeURLRequestContext : public URLRequestContext, // called on the UI thread. static ChromeURLRequestContext* CreateOffTheRecord(Profile* profile); - // Create an instance of request context for OTR profile for media resources. - static ChromeURLRequestContext* CreateOffTheRecordForMedia(Profile* profile, - const FilePath& disk_cache_path); - // Create an instance of request context for OTR profile for extensions. static ChromeURLRequestContext* CreateOffTheRecordForExtensions( Profile* profile); -- cgit v1.1