Home | History | Annotate | Download | only in cpp

Lines Matching full:code

2 // Use of this source code is governed by a BSD-style license that can be
21 /// Refer to <code>ppapi/examples/url_loader/streaming.cc</code>
26 /// <code>URLLoader</code> object.
29 /// A constructor used when a <code>PP_Resource</code> is provided as a
32 /// @param[in] resource A <code>PP_Resource</code> corresponding to a
33 /// <code>URLLoader</code> resource.
37 /// resulting object will be <code>is_null</code> if the allocation failed.
43 /// The copy constructor for <code>URLLoader</code>.
45 /// @param other A <code>URLLoader</code> to be copied.
48 /// This function begins loading the <code>URLRequestInfo</code>.
53 /// @param[in] request_info A <code>URLRequestInfo</code> corresponding to a
55 /// @param[in] cc A <code>CompletionCallback</code> to run on asynchronous
58 /// will only run if Open() returns <code>PP_OK_COMPLETIONPENDING</code>.
60 /// @return An int32_t containing an error code from
61 /// <code>pp_errors.h</code>.
68 /// @param[in] cc A <code>CompletionCallback</code> to run on asynchronous
72 /// <code>PP_OK_COMPLETIONPENDING</code>.
74 /// @return An int32_t containing an error code from
75 /// <code>pp_errors.h</code>.
82 /// This data is only available if the <code>URLRequestInfo</code> passed to
84 /// <code>PP_URLREQUESTPROPERTY_REPORTUPLOADPROGRESS</code> property set to
85 /// <code>PP_TRUE</code>.
99 /// This data is only available if the <code>URLRequestInfo</code> passed to
101 /// <code>PP_URLREQUESTPROPERTY_REPORTDOWNLOADPROGRESS</code> property set to
107 /// <code>total_bytes_to_be_received</code> will be set to -1.
115 /// <code>URLResponseInfo</code> object.
117 /// @return A <code>URLResponseInfo</code> corresponding to the
118 /// <code>URLResponseInfo</code> if successful, an <code>is_null</code>
129 /// @param[in] cc A <code>CompletionCallback</code> to run on asynchronous
132 /// this function returns <code>PP_OK_COMPLETIONPENDING</code>.
134 /// @return An int32_t containing the number of bytes read or an error code
135 /// from <code>pp_errors.h</code>.
142 /// <code>URLResponseInfo</code>. This function is only used if
143 /// <code>PP_URLREQUESTPROPERTY_STREAMTOFILE</code> was set on the
144 /// <code>URLRequestInfo</code> passed to Open().
146 /// @param[in] cc A <code>CompletionCallback</code> to run on asynchronous
149 /// <code>PP_OK_COMPLETIONPENDING</code>.
151 /// @return An int32_t containing the number of bytes read or an error code
152 /// from <code>pp_errors.h</code>.
157 /// <code>PP_ERROR_ABORTED</code> if pending IO was interrupted. It is NOT
160 /// <strong>Note:</strong> If the <code>URLLoader</code> object is destroyed