Index: webrtc/modules/audio_coding/audio_network_adaptor/controller_manager_unittest.cc |
diff --git a/webrtc/modules/audio_coding/audio_network_adaptor/controller_manager_unittest.cc b/webrtc/modules/audio_coding/audio_network_adaptor/controller_manager_unittest.cc |
index ed96e1b9c689ec37793d9306cfeccd544de2b399..5e72582578d9ed9fcd397cb1646508c25d5a23b6 100644 |
--- a/webrtc/modules/audio_coding/audio_network_adaptor/controller_manager_unittest.cc |
+++ b/webrtc/modules/audio_coding/audio_network_adaptor/controller_manager_unittest.cc |
@@ -17,6 +17,7 @@ |
#include "webrtc/test/gtest.h" |
#ifdef WEBRTC_AUDIO_NETWORK_ADAPTOR_DEBUG_DUMP |
+#include "webrtc/base/protobuf_utils.h" |
RTC_PUSH_IGNORING_WUNDEF() |
#ifdef WEBRTC_ANDROID_PLATFORM_BUILD |
#include "external/webrtc/webrtc/modules/audio_coding/audio_network_adaptor/config.pb.h" |
@@ -273,7 +274,7 @@ constexpr int kInitialFrameLengthMs = 60; |
constexpr int kMinBitrateBps = 6000; |
ControllerManagerStates CreateControllerManager( |
- const std::string& config_string) { |
+ const ProtoString& config_string) { |
ControllerManagerStates states; |
states.simulated_clock.reset(new SimulatedClock(kClockInitialTime)); |
constexpr size_t kNumEncoderChannels = 2; |
@@ -345,7 +346,7 @@ TEST(ControllerManagerTest, CreateFromConfigStringAndCheckDefaultOrder) { |
AddFrameLengthControllerConfig(&config); |
AddBitrateControllerConfig(&config); |
- std::string config_string; |
+ ProtoString config_string; |
config.SerializeToString(&config_string); |
auto states = CreateControllerManager(config_string); |
@@ -376,7 +377,7 @@ TEST(ControllerManagerTest, CreateFromConfigStringAndCheckReordering) { |
AddBitrateControllerConfig(&config); |
- std::string config_string; |
+ ProtoString config_string; |
config.SerializeToString(&config_string); |
auto states = CreateControllerManager(config_string); |