Chromium Code Reviews
DescriptionSmall refactor to media architecture in order to allow end-to-end tests.
- Introduced the class MockAudioManager that will be used by upcoming speech recognition tests.
- Added interface TestAudioInputController::Delegate, which allows to intercept Record/Close events.
- Added audio_manager_for_tests_ static field in SpeechRecognizer to inject the MockAudioManager during tests.
BUG=116954
TEST=none
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=146316
Patch Set 1 : #
Total comments: 6
Patch Set 2 : Moved MockAudioManager under media/, inherting from AudioManager, removing static field from AudioM… #
Total comments: 10
Patch Set 3 : Removed mock_audio_manager from /content/browser/speech #
Total comments: 2
Patch Set 4 : tommi@ review. #Patch Set 5 : Fixed broken speech_recognizer_unittest.cc #Patch Set 6 : Changed MockAudioManager ctor #
Total comments: 4
Patch Set 7 : tommi@ + satish@ nits (+reabase) #
Total comments: 1
Messages
Total messages: 13 (0 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||