Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(360)

Side by Side Diff: webrtc/modules/remote_bitrate_estimator/test/bwe_test_framework_unittest.cc

Issue 2964773002: Revert "Update includes for webrtc/{base => rtc_base} rename (1/3)" (Closed)
Patch Set: Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2013 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 #include "webrtc/modules/remote_bitrate_estimator/test/bwe_test_framework.h" 11 #include "webrtc/modules/remote_bitrate_estimator/test/bwe_test_framework.h"
12 12
13 #include <numeric> 13 #include <numeric>
14 14
15 #include "webrtc/base/constructormagic.h"
15 #include "webrtc/modules/remote_bitrate_estimator/test/packet.h" 16 #include "webrtc/modules/remote_bitrate_estimator/test/packet.h"
16 #include "webrtc/modules/remote_bitrate_estimator/test/packet_sender.h" 17 #include "webrtc/modules/remote_bitrate_estimator/test/packet_sender.h"
17 #include "webrtc/rtc_base/constructormagic.h"
18 #include "webrtc/test/gtest.h" 18 #include "webrtc/test/gtest.h"
19 #include "webrtc/test/testsupport/fileutils.h" 19 #include "webrtc/test/testsupport/fileutils.h"
20 20
21 namespace webrtc { 21 namespace webrtc {
22 namespace testing { 22 namespace testing {
23 namespace bwe { 23 namespace bwe {
24 24
25 static bool IsSequenceNumberSorted(const Packets& packets) { 25 static bool IsSequenceNumberSorted(const Packets& packets) {
26 PacketsConstIt last_it = packets.begin(); 26 PacketsConstIt last_it = packets.begin();
27 for (PacketsConstIt it = last_it; it != packets.end(); ++it) { 27 for (PacketsConstIt it = last_it; it != packets.end(); ++it) {
(...skipping 938 matching lines...) Expand 10 before | Expand all | Expand 10 after
966 RembFeedback* feedback = new RembFeedback(0, 0, 0, 512000, RTCPReportBlock()); 966 RembFeedback* feedback = new RembFeedback(0, 0, 0, 512000, RTCPReportBlock());
967 Packets packets; 967 Packets packets;
968 packets.push_back(feedback); 968 packets.push_back(feedback);
969 sender.RunFor(0, &packets); 969 sender.RunFor(0, &packets);
970 EXPECT_EQ(820000u, source.bits_per_second()); 970 EXPECT_EQ(820000u, source.bits_per_second());
971 TestVideoSender(&sender, 10000, 1000, 500, 1025000); 971 TestVideoSender(&sender, 10000, 1000, 500, 1025000);
972 } 972 }
973 } // namespace bwe 973 } // namespace bwe
974 } // namespace testing 974 } // namespace testing
975 } // namespace webrtc 975 } // namespace webrtc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698