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

Unified Diff: content/browser/renderer_host/media/audio_input_renderer_host.h

Issue 1246283003: Split out audio debug recording from RenderProcessHostImpl. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compile. Created 4 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 | « content/browser/media/webrtc_internals.cc ('k') | content/browser/renderer_host/render_process_host_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/media/audio_input_renderer_host.h
diff --git a/content/browser/renderer_host/media/audio_input_renderer_host.h b/content/browser/renderer_host/media/audio_input_renderer_host.h
index dd5499654463378993e4851eda541997e428fc48..e4ba207273f92ea606833a96a35a148fe02cb7e1 100644
--- a/content/browser/renderer_host/media/audio_input_renderer_host.h
+++ b/content/browser/renderer_host/media/audio_input_renderer_host.h
@@ -112,8 +112,8 @@ class CONTENT_EXPORT AudioInputRendererHost
#if defined(ENABLE_WEBRTC)
// Enable and disable debug recording of input on all audio entries.
- void EnableDebugRecording(const base::FilePath& file);
- void DisableDebugRecording();
+ virtual void EnableDebugRecording(const base::FilePath& file);
+ virtual void DisableDebugRecording();
#endif
// BrowserMessageFilter implementation.
@@ -135,6 +135,9 @@ class CONTENT_EXPORT AudioInputRendererHost
// filename.
void set_renderer_pid(int32_t renderer_pid);
+ protected:
+ ~AudioInputRendererHost() override;
+
private:
// TODO(henrika): extend test suite (compare AudioRenderHost)
friend class BrowserThread;
@@ -144,8 +147,6 @@ class CONTENT_EXPORT AudioInputRendererHost
struct AudioEntry;
typedef std::map<int, AudioEntry*> AudioEntryMap;
- ~AudioInputRendererHost() override;
-
// Methods called on IO thread ----------------------------------------------
// Audio related IPC message handlers.
« no previous file with comments | « content/browser/media/webrtc_internals.cc ('k') | content/browser/renderer_host/render_process_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698