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

Unified Diff: content/public/test/mock_render_process_host.cc

Issue 2380743004: media: Remove Browser CDM implementation (Closed)
Patch Set: media: Remove Browser CDM implementation Created 4 years, 3 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: content/public/test/mock_render_process_host.cc
diff --git a/content/public/test/mock_render_process_host.cc b/content/public/test/mock_render_process_host.cc
index 6d20cc65a6f08ea4a5aaabc1da47ae90ebaabc86..b068e091144239c80702b2eae1749d601a34bc79 100644
--- a/content/public/test/mock_render_process_host.cc
+++ b/content/public/test/mock_render_process_host.cc
@@ -29,10 +29,6 @@
#include "content/public/browser/render_widget_host_iterator.h"
#include "content/public/browser/storage_partition.h"
-#if defined(ENABLE_BROWSER_CDMS)
-#include "media/base/media_keys.h"
-#endif
-
namespace content {
MockRenderProcessHost::MockRenderProcessHost(BrowserContext* browser_context)
@@ -274,14 +270,6 @@ const base::TimeTicks& MockRenderProcessHost::GetInitTimeForNavigationMetrics()
return dummy_time;
}
-#if defined(ENABLE_BROWSER_CDMS)
-scoped_refptr<media::MediaKeys> MockRenderProcessHost::GetCdm(
- int render_frame_id,
- int cdm_id) const {
- return nullptr;
-}
-#endif
-
bool MockRenderProcessHost::IsProcessBackgrounded() const {
return is_process_backgrounded_;
}

Powered by Google App Engine
This is Rietveld 408576698