summaryrefslogtreecommitdiffstats
path: root/net/url_request/url_request.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/url_request/url_request.h')
-rw-r--r--net/url_request/url_request.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/net/url_request/url_request.h b/net/url_request/url_request.h
index 4309689..dcc999e 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