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

Unified Diff: webkit/renderer/media/webmediaplayer_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 | « webkit/renderer/media/crypto/proxy_decryptor.cc ('k') | webkit/renderer/media/webmediaplayer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/renderer/media/webmediaplayer_impl.h
diff --git a/webkit/renderer/media/webmediaplayer_impl.h b/webkit/renderer/media/webmediaplayer_impl.h
index 6bc8df1a8bb806cd9aff0d6d4965d3e60df32330..b2ec010460ce5fbca4d51e07a5634d8c66aba3e8 100644
--- a/webkit/renderer/media/webmediaplayer_impl.h
+++ b/webkit/renderer/media/webmediaplayer_impl.h
@@ -40,7 +40,6 @@
#include "third_party/WebKit/public/web/WebAudioSourceProvider.h"
#include "third_party/WebKit/public/web/WebMediaPlayer.h"
#include "third_party/WebKit/public/web/WebMediaPlayerClient.h"
-#include "webkit/renderer/media/crypto/key_systems.h"
#include "webkit/renderer/media/crypto/proxy_decryptor.h"
class RenderAudioSourceProvider;
@@ -189,17 +188,14 @@ class WebMediaPlayerImpl
void OnPipelineBufferingState(
media::Pipeline::BufferingState buffering_state);
void OnDemuxerOpened(scoped_ptr<WebKit::WebMediaSource> media_source);
- void OnKeyAdded(const std::string& key_system, const std::string& session_id);
- void OnKeyError(const std::string& key_system,
- const std::string& session_id,
+ void OnKeyAdded(const std::string& session_id);
+ void OnKeyError(const std::string& session_id,
media::MediaKeys::KeyError error_code,
int system_code);
- void OnKeyMessage(const std::string& key_system,
- const std::string& session_id,
+ void OnKeyMessage(const std::string& session_id,
const std::string& message,
const std::string& default_url);
- void OnNeedKey(const std::string& key_system,
- const std::string& type,
+ void OnNeedKey(const std::string& type,
const std::string& session_id,
scoped_ptr<uint8[]> init_data,
int init_data_size);
« no previous file with comments | « webkit/renderer/media/crypto/proxy_decryptor.cc ('k') | webkit/renderer/media/webmediaplayer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698