| 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 | 11 #ifdef ENABLE_RTC_EVENT_LOG |
| 12 | 12 |
| 13 #include <stdio.h> | 13 #include <stdio.h> |
| 14 #include <string> | 14 #include <string> |
| 15 #include <vector> | 15 #include <vector> |
| 16 | 16 |
| 17 #include "testing/gtest/include/gtest/gtest.h" | 17 #include "testing/gtest/include/gtest/gtest.h" |
| 18 #include "webrtc/base/buffer.h" | 18 #include "webrtc/base/buffer.h" |
| 19 #include "webrtc/base/checks.h" | 19 #include "webrtc/base/checks.h" |
| 20 #include "webrtc/base/scoped_ptr.h" | 20 #include "webrtc/base/scoped_ptr.h" |
| 21 #include "webrtc/base/thread.h" | 21 #include "webrtc/base/thread.h" |
| 22 #include "webrtc/call.h" | 22 #include "webrtc/call.h" |
| 23 #include "webrtc/call/rtc_event_log.h" | 23 #include "webrtc/call/rtc_event_log.h" |
| 24 #include "webrtc/modules/rtp_rtcp/source/rtp_sender.h" | 24 #include "webrtc/modules/rtp_rtcp/source/rtp_sender.h" |
| 25 #include "webrtc/system_wrappers/interface/clock.h" | 25 #include "webrtc/system_wrappers/include/clock.h" |
| 26 #include "webrtc/test/test_suite.h" | 26 #include "webrtc/test/test_suite.h" |
| 27 #include "webrtc/test/testsupport/fileutils.h" | 27 #include "webrtc/test/testsupport/fileutils.h" |
| 28 #include "webrtc/test/testsupport/gtest_disable.h" | 28 #include "webrtc/test/testsupport/gtest_disable.h" |
| 29 | 29 |
| 30 // Files generated at build-time by the protobuf compiler. | 30 // Files generated at build-time by the protobuf compiler. |
| 31 #ifdef WEBRTC_ANDROID_PLATFORM_BUILD | 31 #ifdef WEBRTC_ANDROID_PLATFORM_BUILD |
| 32 #include "external/webrtc/webrtc/call/rtc_event_log.pb.h" | 32 #include "external/webrtc/webrtc/call/rtc_event_log.pb.h" |
| 33 #else | 33 #else |
| 34 #include "webrtc/call/rtc_event_log.pb.h" | 34 #include "webrtc/call/rtc_event_log.pb.h" |
| 35 #endif | 35 #endif |
| (...skipping 602 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 638 // Enable all header extensions | 638 // Enable all header extensions |
| 639 uint32_t extensions = (1u << kNumExtensions) - 1; | 639 uint32_t extensions = (1u << kNumExtensions) - 1; |
| 640 uint32_t csrcs_count = 2; | 640 uint32_t csrcs_count = 2; |
| 641 DropOldEvents(extensions, csrcs_count, 141421356); | 641 DropOldEvents(extensions, csrcs_count, 141421356); |
| 642 DropOldEvents(extensions, csrcs_count, 173205080); | 642 DropOldEvents(extensions, csrcs_count, 173205080); |
| 643 } | 643 } |
| 644 | 644 |
| 645 } // namespace webrtc | 645 } // namespace webrtc |
| 646 | 646 |
| 647 #endif // ENABLE_RTC_EVENT_LOG | 647 #endif // ENABLE_RTC_EVENT_LOG |
| OLD | NEW |