Index: media/audio/audio_output_controller_unittest.cc |
diff --git a/media/audio/audio_output_controller_unittest.cc b/media/audio/audio_output_controller_unittest.cc |
index c6c2d4572a05d935c2428c1a5ac844b9dcadeccf..a09fd03ad9af6f77b23152e529cb5b769b53b6d1 100644 |
--- a/media/audio/audio_output_controller_unittest.cc |
+++ b/media/audio/audio_output_controller_unittest.cc |
@@ -40,7 +40,7 @@ class MockAudioOutputControllerEventHandler |
MOCK_METHOD0(OnCreated, void()); |
MOCK_METHOD0(OnPlaying, void()); |
- MOCK_METHOD1(OnAudible, void(bool is_audible)); |
+ MOCK_METHOD1(OnPowerMeasured, void(float power_in_dbfs)); |
MOCK_METHOD0(OnPaused, void()); |
MOCK_METHOD0(OnError, void()); |
MOCK_METHOD2(OnDeviceChange, void(int new_buffer_size, int new_sample_rate)); |
@@ -132,10 +132,10 @@ class AudioOutputControllerTest : public testing::Test { |
void Play() { |
// Expect the event handler to receive one OnPlaying() call and one or more |
- // OnAudible() calls. |
+ // OnPowerMeasured() calls. |
EXPECT_CALL(mock_event_handler_, OnPlaying()) |
.WillOnce(SignalEvent(&play_event_)); |
- EXPECT_CALL(mock_event_handler_, OnAudible(_)) |
+ EXPECT_CALL(mock_event_handler_, OnPowerMeasured(_)) |
.Times(AtLeast(1)); |
// During playback, the mock pretends to provide audio data rendered and |