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

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

Issue 2655413004: Strip out stream counting from AudioRendererHost. (Closed)
Patch Set: Add moar DCHECKs. Created 3 years, 10 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 | « content/public/test/mock_render_process_host.h ('k') | media/audio/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 d0af148fad74c82c5396c4aadde60099e63f91dc..7ea1a745f1be43dc456098ffd11795e67f7c962f 100644
--- a/content/public/test/mock_render_process_host.cc
+++ b/content/public/test/mock_render_process_host.cc
@@ -143,12 +143,14 @@ int MockRenderProcessHost::VisibleWidgetCount() const {
return 1;
}
-void MockRenderProcessHost::AudioStateChanged() {}
-
bool MockRenderProcessHost::IsForGuestsOnly() const {
return is_for_guests_only_;
}
+void MockRenderProcessHost::OnAudioStreamAdded() {}
+
+void MockRenderProcessHost::OnAudioStreamRemoved() {}
+
StoragePartition* MockRenderProcessHost::GetStoragePartition() const {
return BrowserContext::GetDefaultStoragePartition(browser_context_);
}
« no previous file with comments | « content/public/test/mock_render_process_host.h ('k') | media/audio/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698