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

Unified Diff: media/audio/audio_input_controller.h

Issue 2531333005: Unit tests of AudioInputRendererHost. Some cleanups. (Closed)
Patch Set: Small comments describing tests. 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 | « content/test/BUILD.gn ('k') | media/audio/audio_input_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/audio_input_controller.h
diff --git a/media/audio/audio_input_controller.h b/media/audio/audio_input_controller.h
index 86f7cb3d8af4150e775f24cd1a46102308985868..e77883801cfa4d829c86e08eae56cbacd492262c 100644
--- a/media/audio/audio_input_controller.h
+++ b/media/audio/audio_input_controller.h
@@ -147,6 +147,8 @@ class MEDIA_EXPORT AudioInputController
class Factory {
public:
virtual AudioInputController* Create(
+ scoped_refptr<base::SingleThreadTaskRunner> task_runner,
+ SyncWriter* sync_writer,
AudioManager* audio_manager,
EventHandler* event_handler,
AudioParameters params,
@@ -232,10 +234,10 @@ class MEDIA_EXPORT AudioInputController
bool SharedMemoryAndSyncSocketMode() const { return sync_writer_ != NULL; }
// Enable debug recording of audio input.
- void EnableDebugRecording(const base::FilePath& file_name);
+ virtual void EnableDebugRecording(const base::FilePath& file_name);
// Disable debug recording of audio input.
- void DisableDebugRecording();
+ virtual void DisableDebugRecording();
protected:
friend class base::RefCountedThreadSafe<AudioInputController>;
« no previous file with comments | « content/test/BUILD.gn ('k') | media/audio/audio_input_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698