Chromium Code Reviews| Index: webrtc/logging/rtc_event_log/mock/mock_rtc_event_log.h |
| diff --git a/webrtc/logging/rtc_event_log/mock/mock_rtc_event_log.h b/webrtc/logging/rtc_event_log/mock/mock_rtc_event_log.h |
| index fcc57004f02f0067ede1fbd7a157a07631b8eec6..154882f1b5249472ff495bd99f7036b1e6baf33a 100644 |
| --- a/webrtc/logging/rtc_event_log/mock/mock_rtc_event_log.h |
| +++ b/webrtc/logging/rtc_event_log/mock/mock_rtc_event_log.h |
| @@ -14,6 +14,7 @@ |
| #include <string> |
| #include "webrtc/logging/rtc_event_log/rtc_event_log.h" |
| +#include "webrtc/modules/audio_coding/audio_network_adaptor/include/audio_network_adaptor.h" |
|
terelius
2017/03/09 14:28:59
Can't you just forward declare the AudioEncoderRun
michaelt
2017/03/09 14:42:54
Gmock seams not to like forward declaration. :)
|
| #include "webrtc/test/gmock.h" |
| namespace webrtc { |
| @@ -70,7 +71,7 @@ class MockRtcEventLog : public RtcEventLog { |
| void(int32_t bitrate_bps, BandwidthUsage detector_state)); |
| MOCK_METHOD1(LogAudioNetworkAdaptation, |
| - void(const AudioNetworkAdaptor::EncoderRuntimeConfig& config)); |
| + void(const AudioEncoderRuntimeConfig& config)); |
| MOCK_METHOD4(LogProbeClusterCreated, |
| void(int id, int bitrate_bps, int min_probes, int min_bytes)); |