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

Unified Diff: media/mojo/clients/mojo_cdm.h

Issue 2551333002: media: Avoid access violation in MojoCdm after connection error (Closed)
Patch Set: comments addressed Created 4 years 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 | « media/mojo/BUILD.gn ('k') | media/mojo/clients/mojo_cdm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/clients/mojo_cdm.h
diff --git a/media/mojo/clients/mojo_cdm.h b/media/mojo/clients/mojo_cdm.h
index cf754f9c9601fd03a6aa32eacc57f3f8224e171a..0971c627b508bde544f0da90b600fa08791532e0 100644
--- a/media/mojo/clients/mojo_cdm.h
+++ b/media/mojo/clients/mojo_cdm.h
@@ -89,7 +89,8 @@ class MojoCdm : public MediaKeys,
const CdmConfig& cdm_config,
std::unique_ptr<CdmInitializedPromise> promise);
- void OnConnectionError();
+ void OnConnectionError(uint32_t custom_reason,
+ const std::string& description);
// mojom::ContentDecryptionModuleClient implementation.
void OnSessionMessage(const std::string& session_id,
« no previous file with comments | « media/mojo/BUILD.gn ('k') | media/mojo/clients/mojo_cdm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698