Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(207)

Unified Diff: ppapi/cpp/file_io.h

Issue 11417145: Provide a safer URLLoader ReadResponseBody API (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/c/ppb_url_loader.h ('k') | ppapi/cpp/url_loader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/file_io.h
diff --git a/ppapi/cpp/file_io.h b/ppapi/cpp/file_io.h
index bf2c85701256cd1486545a711d43f6ef7b7a60c0..0afda17ed9f1ac52aafe2f914a2a7eaf3cd0c87f 100644
--- a/ppapi/cpp/file_io.h
+++ b/ppapi/cpp/file_io.h
@@ -153,14 +153,11 @@ class FileIO : public Resource {
/// provided so that output will be stored in its allocated buffer. This
/// function might perform a partial read.
///
- /// @param[in] file_io A <code>PP_Resource</code> corresponding to a file
- /// FileIO.
/// @param[in] offset The offset into the file.
/// @param[in] max_read_length The maximum number of bytes to read from
/// <code>offset</code>.
- /// @param[in] output A <code>PP_ArrayOutput</code> to hold the output data.
- /// @param[in] callback A <code>PP_CompletionCallback</code> to be called upon
- /// completion of Read().
+ /// @param[in] cc A <code>CompletionCallbackWithOutput</code> to hold a
+ /// PP_ArrayOutput for output, and to be called upon completion of Read().
///
/// @return The number of bytes read or an error code from
/// <code>pp_errors.h</code>. If the return value is 0, then end-of-file was
« no previous file with comments | « ppapi/c/ppb_url_loader.h ('k') | ppapi/cpp/url_loader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698