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

Unified Diff: media/base/cdm_key_information.h

Issue 2663483003: media: Add log in CdmSessionAdapter (Closed)
Patch Set: media: Add log in CdmSessionAdapter Created 3 years, 11 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 | « no previous file | media/base/cdm_key_information.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/cdm_key_information.h
diff --git a/media/base/cdm_key_information.h b/media/base/cdm_key_information.h
index 7ed8eff693e27264c72ad50c0ad1754465dd63e4..16ea225ad36c0a986f5b5f30f47782ccc12b2f3d 100644
--- a/media/base/cdm_key_information.h
+++ b/media/base/cdm_key_information.h
@@ -43,11 +43,17 @@ struct MEDIA_EXPORT CdmKeyInformation {
CdmKeyInformation(const CdmKeyInformation& other);
~CdmKeyInformation();
+ static std::string KeyStatusToString(KeyStatus key_status);
+
std::vector<uint8_t> key_id;
KeyStatus status;
uint32_t system_code;
};
+// For logging use only.
+MEDIA_EXPORT std::ostream& operator<<(std::ostream& os,
+ const CdmKeyInformation& info);
+
} // namespace media
#endif // MEDIA_BASE_CDM_KEY_INFORMATION_H_
« no previous file with comments | « no previous file | media/base/cdm_key_information.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698