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

Unified Diff: content/renderer/media/webmediaplayer_impl.h

Issue 23072043: Change NeedKeyCB to use std::vector. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix seek_tester, demuxer_bench, and player_x11 Created 7 years, 4 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
Index: content/renderer/media/webmediaplayer_impl.h
diff --git a/content/renderer/media/webmediaplayer_impl.h b/content/renderer/media/webmediaplayer_impl.h
index e9ad9027bc443263332212d57b0aa6b839996a92..270186bbbe5aad43fce9d7c4d3ee8a7c4977fab2 100644
--- a/content/renderer/media/webmediaplayer_impl.h
+++ b/content/renderer/media/webmediaplayer_impl.h
@@ -196,8 +196,7 @@ class WebMediaPlayerImpl
const std::string& default_url);
void OnNeedKey(const std::string& type,
const std::string& session_id,
- scoped_ptr<uint8[]> init_data,
- int init_data_size);
+ const std::vector<uint8>& init_data);
scoped_ptr<media::TextTrack> OnTextTrack(media::TextKind kind,
const std::string& label,
const std::string& language);
« no previous file with comments | « content/renderer/media/android/webmediaplayer_android.cc ('k') | content/renderer/media/webmediaplayer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698