OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 #ifndef WEBRTC_CALL_RTC_EVENT_LOG_PARSER_H_ | 10 #ifndef WEBRTC_CALL_RTC_EVENT_LOG_PARSER_H_ |
11 #define WEBRTC_CALL_RTC_EVENT_LOG_PARSER_H_ | 11 #define WEBRTC_CALL_RTC_EVENT_LOG_PARSER_H_ |
12 | 12 |
13 #include <string> | 13 #include <string> |
14 #include <vector> | 14 #include <vector> |
15 | 15 |
| 16 #include "webrtc/base/ignore_wundef.h" |
16 #include "webrtc/call/rtc_event_log.h" | 17 #include "webrtc/call/rtc_event_log.h" |
17 #include "webrtc/video_receive_stream.h" | 18 #include "webrtc/video_receive_stream.h" |
18 #include "webrtc/video_send_stream.h" | 19 #include "webrtc/video_send_stream.h" |
19 | 20 |
20 // Files generated at build-time by the protobuf compiler. | 21 // Files generated at build-time by the protobuf compiler. |
| 22 RTC_PUSH_IGNORING_WUNDEF() |
21 #ifdef WEBRTC_ANDROID_PLATFORM_BUILD | 23 #ifdef WEBRTC_ANDROID_PLATFORM_BUILD |
22 #include "external/webrtc/webrtc/call/rtc_event_log.pb.h" | 24 #include "external/webrtc/webrtc/call/rtc_event_log.pb.h" |
23 #else | 25 #else |
24 #include "webrtc/call/rtc_event_log.pb.h" | 26 #include "webrtc/call/rtc_event_log.pb.h" |
25 #endif | 27 #endif |
| 28 RTC_POP_IGNORING_WUNDEF() |
26 | 29 |
27 namespace webrtc { | 30 namespace webrtc { |
28 | 31 |
29 enum class MediaType; | 32 enum class MediaType; |
30 | 33 |
31 class ParsedRtcEventLog { | 34 class ParsedRtcEventLog { |
32 friend class RtcEventLogTestHelper; | 35 friend class RtcEventLogTestHelper; |
33 | 36 |
34 public: | 37 public: |
35 enum EventType { | 38 enum EventType { |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 uint8_t* fraction_loss, | 114 uint8_t* fraction_loss, |
112 int32_t* total_packets) const; | 115 int32_t* total_packets) const; |
113 | 116 |
114 private: | 117 private: |
115 std::vector<rtclog::Event> events_; | 118 std::vector<rtclog::Event> events_; |
116 }; | 119 }; |
117 | 120 |
118 } // namespace webrtc | 121 } // namespace webrtc |
119 | 122 |
120 #endif // WEBRTC_CALL_RTC_EVENT_LOG_PARSER_H_ | 123 #endif // WEBRTC_CALL_RTC_EVENT_LOG_PARSER_H_ |
OLD | NEW |