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

Unified Diff: content/browser/android/media_player_manager_impl.h

Issue 17289006: Separate CDM initialization from GenerateKeyRequest & remove key_system parameters. (Closed) Base URL: master
Patch Set: rebase only Created 7 years, 6 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 | « no previous file | content/browser/android/media_player_manager_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/android/media_player_manager_impl.h
diff --git a/content/browser/android/media_player_manager_impl.h b/content/browser/android/media_player_manager_impl.h
index 266f08634a8cf43cf38d5748aa8d760031e311c0..48f058ffff7ff4d11fcc942dedb2a3103a696291 100644
--- a/content/browser/android/media_player_manager_impl.h
+++ b/content/browser/android/media_player_manager_impl.h
@@ -80,15 +80,12 @@ class CONTENT_EXPORT MediaPlayerManagerImpl
unsigned seek_request_id) OVERRIDE;
virtual void OnMediaConfigRequest(int player_id) OVERRIDE;
virtual void OnKeyAdded(int media_keys_id,
- const std::string& key_system,
const std::string& session_id) OVERRIDE;
virtual void OnKeyError(int media_keys_id,
- const std::string& key_system,
const std::string& session_id,
media::MediaKeys::KeyError error_code,
int system_code) OVERRIDE;
virtual void OnKeyMessage(int media_keys_id,
- const std::string& key_system,
const std::string& session_id,
const std::string& message,
const std::string& destination_url) OVERRIDE;
@@ -127,17 +124,13 @@ class CONTENT_EXPORT MediaPlayerManagerImpl
const media::MediaPlayerHostMsg_ReadFromDemuxerAck_Params& params);
void OnMediaSeekRequestAck(int player_id, unsigned seek_request_id);
void OnGenerateKeyRequest(int media_keys_id,
- const std::string& key_system,
const std::string& type,
const std::vector<uint8>& init_data);
void OnAddKey(int media_keys_id,
- const std::string& key_system,
const std::vector<uint8>& key,
const std::vector<uint8>& init_data,
const std::string& session_id);
- void OnCancelKeyRequest(int media_keys_id,
- const std::string& key_system,
- const std::string& session_id);
+ void OnCancelKeyRequest(int media_keys_id, const std::string& session_id);
void OnDurationChanged(int player_id, const base::TimeDelta& duration);
#if defined(GOOGLE_TV)
« no previous file with comments | « no previous file | content/browser/android/media_player_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698