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

Unified Diff: ppapi/cpp/private/content_decryptor_private.h

Issue 985113003: Block platform verification and file IO in the CDM adapter if the CDM configuration disallows them. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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
Index: ppapi/cpp/private/content_decryptor_private.h
diff --git a/ppapi/cpp/private/content_decryptor_private.h b/ppapi/cpp/private/content_decryptor_private.h
index 97afeae1ad61fee3e99beae8e53119a9dda825d7..35359a0fe98b4a1325bf049941ac63b81f51eb70 100644
--- a/ppapi/cpp/private/content_decryptor_private.h
+++ b/ppapi/cpp/private/content_decryptor_private.h
@@ -34,7 +34,9 @@ class ContentDecryptor_Private {
// TODO(tomfinegan): This could be optimized to pass pp::Var instead of
// strings. The change would allow the CDM wrapper to reuse vars when
// replying to the browser.
- virtual void Initialize(const std::string& key_system) = 0;
+ virtual void Initialize(const std::string& key_system,
+ bool allow_distinctive_identifier,
+ bool allow_persistent_state) = 0;
virtual void SetServerCertificate(uint32_t promise_id,
pp::VarArrayBuffer server_certificate) = 0;
virtual void CreateSessionAndGenerateRequest(

Powered by Google App Engine
This is Rietveld 408576698