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

Unified Diff: ppapi/cpp/video_reader.h

Issue 13726021: Change PPB_VideoWriter Open function to return stream_id as out param. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 months 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_video_writer.h ('k') | ppapi/cpp/video_reader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/video_reader.h
diff --git a/ppapi/cpp/video_reader.h b/ppapi/cpp/video_reader.h
index 5304a79fe1bd33c6d63c0a8684a9adff266e0eb9..57e85a5c8f9dff9c53fdf35224378f8fab263364 100644
--- a/ppapi/cpp/video_reader.h
+++ b/ppapi/cpp/video_reader.h
@@ -44,13 +44,13 @@ class VideoReader : public Resource {
/// Opens a stream for reading video and associates it with the given id.
///
- /// @param[in] stream_id A string uniquely identifying the stream to read
- /// from.
+ /// @param[in] stream_id A <code>Var</code> uniquely identifying the stream
+ /// to read from.
/// @param[in] callback A <code>CompletionCallback</code> to be called upon
/// completion of Open.
///
/// @return A return code from <code>pp_errors.h</code>.
- int32_t Open(const std::string& stream_id,
+ int32_t Open(const Var& stream_id,
const CompletionCallback& cc);
/// Gets the next frame of video from the reader's stream.
« no previous file with comments | « ppapi/c/ppb_video_writer.h ('k') | ppapi/cpp/video_reader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698