Index: webrtc/logging/rtc_event_log/rtc_event_log_helper_thread.h |
diff --git a/webrtc/logging/rtc_event_log/rtc_event_log_helper_thread.h b/webrtc/logging/rtc_event_log/rtc_event_log_helper_thread.h |
index 420e5c529f97db3999eddca98c5bea4b46efcf40..16faad3a146a3d8a2df85c150ea680d15f352c73 100644 |
--- a/webrtc/logging/rtc_event_log/rtc_event_log_helper_thread.h |
+++ b/webrtc/logging/rtc_event_log/rtc_event_log_helper_thread.h |
@@ -13,7 +13,6 @@ |
#include <limits> |
#include <memory> |
-#include <string> |
#include <utility> |
#include <vector> |
@@ -21,12 +20,13 @@ |
#include "webrtc/base/event.h" |
#include "webrtc/base/ignore_wundef.h" |
#include "webrtc/base/platform_thread.h" |
+#include "webrtc/base/protobuf_utils.h" |
#include "webrtc/base/swap_queue.h" |
#include "webrtc/logging/rtc_event_log/ringbuffer.h" |
#include "webrtc/system_wrappers/include/file_wrapper.h" |
#ifdef ENABLE_RTC_EVENT_LOG |
-// Files generated at build-time by the protobuf compiler. |
+// *.ph.h files are generated at build-time by the protobuf compiler. |
RTC_PUSH_IGNORING_WUNDEF() |
#ifdef WEBRTC_ANDROID_PLATFORM_BUILD |
#include "external/webrtc/webrtc/logging/rtc_event_log/rtc_event_log.pb.h" |
@@ -112,7 +112,7 @@ class RtcEventLogHelperThread final { |
std::unique_ptr<rtclog::Event> most_recent_event_; |
// Temporary space for serializing profobuf data. |
- std::string output_string_; |
+ ProtoString output_string_; |
rtc::Event wake_periodically_; |
rtc::Event wake_from_hibernation_; |