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

Unified Diff: content/browser/media/cdm/browser_cdm_manager.h

Issue 731793002: BrowserCdmManager: remove CDMs on correct thread on RenderFrameDeleted. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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: content/browser/media/cdm/browser_cdm_manager.h
diff --git a/content/browser/media/cdm/browser_cdm_manager.h b/content/browser/media/cdm/browser_cdm_manager.h
index 27fb5c93e834ad4269d985e174c87bc25fb26a73..2d345f8625444cb391773c65f954fff514f79a47 100644
--- a/content/browser/media/cdm/browser_cdm_manager.h
+++ b/content/browser/media/cdm/browser_cdm_manager.h
@@ -108,6 +108,9 @@ class CONTENT_EXPORT BrowserCdmManager : public BrowserMessageFilter {
const std::string& key_system,
const GURL& security_origin);
+ // Removes all CDMs associated with |render_frame_id|.
+ void RemoveCdmsForFrame(int render_frame_id);
damienv1 2014/11/16 00:00:46 nit: Would rather name it: RemoveAllCdmForFrame (C
gunsch 2014/11/17 16:17:37 Done.
+
// Removes the CDM with the specified id.
void RemoveCdm(uint64 id);
« no previous file with comments | « no previous file | content/browser/media/cdm/browser_cdm_manager.cc » ('j') | content/browser/media/cdm/browser_cdm_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698