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

Unified Diff: webkit/plugins/ppapi/content_decryptor_delegate.cc

Issue 15772012: Separate MediaKeys interface from Decryptor interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix android Created 7 years, 7 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/plugins/ppapi/content_decryptor_delegate.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/content_decryptor_delegate.cc
diff --git a/webkit/plugins/ppapi/content_decryptor_delegate.cc b/webkit/plugins/ppapi/content_decryptor_delegate.cc
index e9567be906c3f145b61b16eb5e2eca7578fc6705..be4531acd05c464a68b2d0ebb4d3c63c8ed95fc2 100644
--- a/webkit/plugins/ppapi/content_decryptor_delegate.cc
+++ b/webkit/plugins/ppapi/content_decryptor_delegate.cc
@@ -628,7 +628,7 @@ void ContentDecryptorDelegate::KeyAdded(PP_Var key_system_var,
StringVar* session_id_string = StringVar::FromPPVar(session_id_var);
if (!key_system_string || !session_id_string) {
key_error_cb_.Run(
- std::string(), std::string(), media::Decryptor::kUnknownError, 0);
+ std::string(), std::string(), media::MediaKeys::kUnknownError, 0);
return;
}
@@ -658,7 +658,7 @@ void ContentDecryptorDelegate::KeyMessage(PP_Var key_system_var,
if (!key_system_string || !session_id_string || !default_url_string) {
key_error_cb_.Run(
- std::string(), std::string(), media::Decryptor::kUnknownError, 0);
+ std::string(), std::string(), media::MediaKeys::kUnknownError, 0);
return;
}
@@ -679,14 +679,14 @@ void ContentDecryptorDelegate::KeyError(PP_Var key_system_var,
StringVar* session_id_string = StringVar::FromPPVar(session_id_var);
if (!key_system_string || !session_id_string) {
key_error_cb_.Run(
- std::string(), std::string(), media::Decryptor::kUnknownError, 0);
+ std::string(), std::string(), media::MediaKeys::kUnknownError, 0);
return;
}
key_error_cb_.Run(
key_system_string->value(),
session_id_string->value(),
- static_cast<media::Decryptor::KeyError>(media_error),
+ static_cast<media::MediaKeys::KeyError>(media_error),
system_code);
}
« no previous file with comments | « webkit/plugins/ppapi/content_decryptor_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698