From 703a31308be801fa9d7206bd0383d04f22eab2a1 Mon Sep 17 00:00:00 2001 From: "hclam@chromium.org" Date: Thu, 5 Mar 2009 06:38:52 +0000 Subject: Highlights of changes: 1. Added entry to ResourceResponseHead so that it contains either a base::PlatformFile (OS_WIN) or base::FileDescriptor (OS_POSIX) for passing the file handle from browser to renderer process. 2. Also added IPC messages for reporting download progress and ACK message for it. ResourceLoaderBridge::Peer::OnDownloadProgress is added so that the peer is notified of the download progress in the renderer process. 3. Load flag to kick start the resource loading for media files. LOAD_MEDIA_RESOURCE is added so that ResourceDispatcherHost knows how to use a different ResourceHandler for handling media resource request. Review URL: http://codereview.chromium.org/27168 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10972 0039d316-1c4b-4281-b951-d872f2087c98 --- net/url_request/url_request.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'net/url_request') diff --git a/net/url_request/url_request.h b/net/url_request/url_request.h index f4aee3a..fb25f45 100644 --- a/net/url_request/url_request.h +++ b/net/url_request/url_request.h @@ -307,6 +307,13 @@ class URLRequest { return response_info_.ssl_info; } + // Returns the platform specific file handle for the standalone file that + // contains response data. base::kInvalidPlatformFileValue is returned if + // such file is not available. + base::PlatformFile response_data_file() { + return response_info_.response_data_file; + } + // Returns the cookie values included in the response, if the request is one // that can have cookies. Returns true if the request is a cookie-bearing // type, false otherwise. This method may only be called once the -- cgit v1.1