summaryrefslogtreecommitdiff
path: root/chromium/ppapi/cpp
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2018-08-24 12:15:48 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2018-08-28 13:30:04 +0000
commitb014812705fc80bff0a5c120dfcef88f349816dc (patch)
tree25a2e2d9fa285f1add86aa333389a839f81a39ae /chromium/ppapi/cpp
parent9f4560b1027ae06fdb497023cdcaf91b8511fa74 (diff)
downloadqtwebengine-chromium-b014812705fc80bff0a5c120dfcef88f349816dc.tar.gz
BASELINE: Update Chromium to 68.0.3440.125
Change-Id: I23f19369e01f688e496f5bf179abb521ad73874f Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/ppapi/cpp')
-rw-r--r--chromium/ppapi/cpp/url_request_info.h8
-rw-r--r--chromium/ppapi/cpp/url_response_info.h12
2 files changed, 6 insertions, 14 deletions
diff --git a/chromium/ppapi/cpp/url_request_info.h b/chromium/ppapi/cpp/url_request_info.h
index 2710d876ddc..784ac57d3d1 100644
--- a/chromium/ppapi/cpp/url_request_info.h
+++ b/chromium/ppapi/cpp/url_request_info.h
@@ -144,14 +144,12 @@ class URLRequestInfo : public Resource {
/// SetStreamToFile() sets the
/// <code>PP_URLREQUESTPROPERTY_STREAMTOFILE</code> (corresponding
- /// to a bool of type <code>PP_VARTYPE_BOOL</code>). The default of the
- /// property is false. Set this value to true if you want to download the
- /// data to a file. Use URL_Loader::FinishStreamingToFile() to complete
- /// the download.
+ /// to a bool of type <code>PP_VARTYPE_BOOL</code>). The property is no longer
+ /// supported, so this always returns false.
///
/// @param[in] enable A <code>bool</code> containing the property value.
///
- /// @return true if successful, false if the parameter is invalid.
+ /// @return false.
bool SetStreamToFile(bool enable) {
return SetProperty(PP_URLREQUESTPROPERTY_STREAMTOFILE, enable);
}
diff --git a/chromium/ppapi/cpp/url_response_info.h b/chromium/ppapi/cpp/url_response_info.h
index 727b72027d7..e431b46d92b 100644
--- a/chromium/ppapi/cpp/url_response_info.h
+++ b/chromium/ppapi/cpp/url_response_info.h
@@ -44,17 +44,11 @@ class URLResponseInfo : public Resource {
/// invalid.
Var GetProperty(PP_URLResponseProperty property) const;
- /// This function returns a <code>FileRef</code>
- /// pointing to the file containing the response body. This
- /// is only valid if <code>PP_URLREQUESTPROPERTY_STREAMTOFILE</code> was set
- /// on the <code>URLRequestInfo</code> used to produce this response. This
- /// file remains valid until the <code>URLLoader</code> associated with this
+ /// This function returns an <code>is_null</code> object, as the
+ /// <code>PP_URLREQUESTPROPERTY_STREAMTOFILE</code> is no longer supported.
/// <code>URLResponseInfo</code> is closed or destroyed.
///
- /// @return A <code>FileRef</code> corresponding to a
- /// <code>FileRef</code> if successful, an <code>is_null</code> object if
- /// <code>PP_URLREQUESTPROPERTY_STREAMTOFILE</code> was not requested or if
- /// the <code>URLLoader</code> has not been opened yet.
+ /// @return An <code>is_null</code> object.
FileRef GetBodyAsFileRef() const;
/// This function gets the <code>PP_URLRESPONSEPROPERTY_URL</code>