| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2015 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 | 10 |
| 11 #ifdef ENABLE_RTC_EVENT_LOG | |
| 12 | |
| 13 #include <map> | 11 #include <map> |
| 14 #include <memory> | 12 #include <memory> |
| 15 #include <string> | 13 #include <string> |
| 16 #include <utility> | 14 #include <utility> |
| 17 #include <vector> | 15 #include <vector> |
| 18 | 16 |
| 19 #include "testing/gtest/include/gtest/gtest.h" | 17 #include "testing/gtest/include/gtest/gtest.h" |
| 20 #include "webrtc/base/buffer.h" | 18 #include "webrtc/base/buffer.h" |
| 21 #include "webrtc/base/checks.h" | 19 #include "webrtc/base/checks.h" |
| 22 #include "webrtc/base/random.h" | 20 #include "webrtc/base/random.h" |
| (...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 452 | 450 |
| 453 RtcEventLogTestHelper::VerifyRtcpEvent(parsed_log, 2, kOutgoingPacket, | 451 RtcEventLogTestHelper::VerifyRtcpEvent(parsed_log, 2, kOutgoingPacket, |
| 454 MediaType::VIDEO, rtcp_packet.data(), | 452 MediaType::VIDEO, rtcp_packet.data(), |
| 455 rtcp_packet.size()); | 453 rtcp_packet.size()); |
| 456 | 454 |
| 457 RtcEventLogTestHelper::VerifyLogEndEvent(parsed_log, 3); | 455 RtcEventLogTestHelper::VerifyLogEndEvent(parsed_log, 3); |
| 458 | 456 |
| 459 // Clean up temporary file - can be pretty slow. | 457 // Clean up temporary file - can be pretty slow. |
| 460 remove(temp_filename.c_str()); | 458 remove(temp_filename.c_str()); |
| 461 } | 459 } |
| 460 |
| 462 } // namespace webrtc | 461 } // namespace webrtc |
| 463 | |
| 464 #endif // ENABLE_RTC_EVENT_LOG | |
| OLD | NEW |