| Index: media/audio/test_audio_input_controller_factory.h
|
| diff --git a/media/audio/test_audio_input_controller_factory.h b/media/audio/test_audio_input_controller_factory.h
|
| index 4a04d36e61387bbd7469ebc0bd60ec156909fa50..90f81b7f7b490f70185c638ce26fdfe13baf62fb 100644
|
| --- a/media/audio/test_audio_input_controller_factory.h
|
| +++ b/media/audio/test_audio_input_controller_factory.h
|
| @@ -65,6 +65,9 @@ class TestAudioInputController : public AudioInputController {
|
| // Returns the event handler installed on the AudioInputController.
|
| EventHandler* event_handler() const { return event_handler_; }
|
|
|
| + // Returns a pointer to the audio callback for the AudioInputController.
|
| + SyncWriter* sync_writer() const { return sync_writer_; }
|
| +
|
| // Notifies the TestAudioControllerOpened() event to the delegate (if any).
|
| void Record() override;
|
|
|
| @@ -84,7 +87,8 @@ class TestAudioInputController : public AudioInputController {
|
| // These are not owned by us and expected to be valid for this object's
|
| // lifetime.
|
| TestAudioInputControllerFactory* factory_;
|
| - EventHandler* event_handler_;
|
| + EventHandler* const event_handler_;
|
| + SyncWriter* const sync_writer_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(TestAudioInputController);
|
| };
|
|
|