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

Unified Diff: content/renderer/media/android/webmediaplayer_android.h

Issue 759933003: Move OnNeedKey() to WebMediaPlayerImpl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments addressed Created 6 years 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/android/webmediaplayer_android.h
diff --git a/content/renderer/media/android/webmediaplayer_android.h b/content/renderer/media/android/webmediaplayer_android.h
index 8b003782d3a20bba61309855b51257b935444f52..1134693799a4a4d7382b855d9a93b7c182960f61 100644
--- a/content/renderer/media/android/webmediaplayer_android.h
+++ b/content/renderer/media/android/webmediaplayer_android.h
@@ -254,12 +254,9 @@ class WebMediaPlayerAndroid : public blink::WebMediaPlayer,
void OnMediaSourceOpened(blink::WebMediaSource* web_media_source);
- void OnNeedKey(const std::string& type,
+ void OnNeedKey(const std::string& init_data_type,
const std::vector<uint8>& init_data);
- // TODO(xhwang): Implement WebMediaPlayer::setContentDecryptionModule().
- // See: http://crbug.com/224786
-
protected:
// Helper method to update the playing state.
void UpdatePlayingState(bool is_playing_);
« no previous file with comments | « content/renderer/media/android/media_source_delegate.cc ('k') | content/renderer/media/android/webmediaplayer_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698