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

Unified Diff: media/cdm/aes_decryptor.h

Issue 1068823003: Pass security origin to AesDecryptor() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add GN dependency Created 5 years, 8 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 | « content/renderer/media/crypto/render_cdm_factory.cc ('k') | media/cdm/aes_decryptor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cdm/aes_decryptor.h
diff --git a/media/cdm/aes_decryptor.h b/media/cdm/aes_decryptor.h
index 9a13e625839f77604bf05e96ba289589acabea2d..5c7a06c2cc44a39af31bf2a4e649e5086dd1a01e 100644
--- a/media/cdm/aes_decryptor.h
+++ b/media/cdm/aes_decryptor.h
@@ -18,6 +18,8 @@
#include "media/base/media_export.h"
#include "media/base/media_keys.h"
+class GURL;
+
namespace crypto {
class SymmetricKey;
}
@@ -30,7 +32,8 @@ class MEDIA_EXPORT AesDecryptor : public MediaKeys,
public CdmContext,
public Decryptor {
public:
- AesDecryptor(const SessionMessageCB& session_message_cb,
+ AesDecryptor(const GURL& security_origin,
+ const SessionMessageCB& session_message_cb,
const SessionClosedCB& session_closed_cb,
const SessionKeysChangeCB& session_keys_change_cb);
~AesDecryptor() override;
« no previous file with comments | « content/renderer/media/crypto/render_cdm_factory.cc ('k') | media/cdm/aes_decryptor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698