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

Unified Diff: media/cdm/ppapi/external_clear_key/clear_key_cdm.h

Issue 2085063002: media: Add OutputProtectionProxy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments addressed Created 4 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 | « chrome/renderer/media/chrome_key_systems.cc ('k') | media/cdm/ppapi/external_clear_key/clear_key_cdm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cdm/ppapi/external_clear_key/clear_key_cdm.h
diff --git a/media/cdm/ppapi/external_clear_key/clear_key_cdm.h b/media/cdm/ppapi/external_clear_key/clear_key_cdm.h
index 559e4db27b7538387fc45e75bfe59ef85b81e967..379498f996477801e1a1b1790eafcf263f0fb07c 100644
--- a/media/cdm/ppapi/external_clear_key/clear_key_cdm.h
+++ b/media/cdm/ppapi/external_clear_key/clear_key_cdm.h
@@ -140,11 +140,15 @@ class ClearKeyCdm : public ClearKeyCdmInterface {
cdm::AudioFrames* audio_frames);
#endif // CLEAR_KEY_CDM_USE_FAKE_AUDIO_DECODER
+ void OnUnitTestComplete(bool success);
+
void StartFileIOTest();
// Callback for CDM File IO test.
void OnFileIOTestComplete(bool success);
+ void StartOutputProtectionTest();
+
// Keep track of the last session created.
void SetSessionId(const std::string& session_id);
@@ -209,6 +213,8 @@ class ClearKeyCdm : public ClearKeyCdmInterface {
std::unique_ptr<FileIOTestRunner> file_io_test_runner_;
+ bool is_running_output_protection_test_;
+
DISALLOW_COPY_AND_ASSIGN(ClearKeyCdm);
};
« no previous file with comments | « chrome/renderer/media/chrome_key_systems.cc ('k') | media/cdm/ppapi/external_clear_key/clear_key_cdm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698