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

Side by Side Diff: webrtc/modules/video_coding/video_packet_buffer_unittest.cc

Issue 2969653002: Update includes for webrtc/{base => rtc_base} rename (1/3) (Closed)
Patch Set: Rebased onto 89c4a7e57d524b13fbe0c823a83a4c10c2e63bd0 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) 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 10
11 #include <cstring> 11 #include <cstring>
12 #include <map> 12 #include <map>
13 #include <set> 13 #include <set>
14 #include <utility> 14 #include <utility>
15 15
16 #include "webrtc/base/random.h"
17 #include "webrtc/common_video/h264/h264_common.h" 16 #include "webrtc/common_video/h264/h264_common.h"
18 #include "webrtc/modules/video_coding/frame_object.h" 17 #include "webrtc/modules/video_coding/frame_object.h"
19 #include "webrtc/modules/video_coding/packet_buffer.h" 18 #include "webrtc/modules/video_coding/packet_buffer.h"
19 #include "webrtc/rtc_base/random.h"
20 #include "webrtc/system_wrappers/include/clock.h" 20 #include "webrtc/system_wrappers/include/clock.h"
21 #include "webrtc/test/gtest.h" 21 #include "webrtc/test/gtest.h"
22 22
23 namespace webrtc { 23 namespace webrtc {
24 namespace video_coding { 24 namespace video_coding {
25 25
26 class TestPacketBuffer : public ::testing::Test, 26 class TestPacketBuffer : public ::testing::Test,
27 public OnReceivedFrameCallback { 27 public OnReceivedFrameCallback {
28 protected: 28 protected:
29 TestPacketBuffer() 29 TestPacketBuffer()
(...skipping 549 matching lines...) Expand 10 before | Expand all | Expand 10 after
579 579
580 ASSERT_EQ(1UL, frames_from_callback_.size()); 580 ASSERT_EQ(1UL, frames_from_callback_.size());
581 packet_buffer_->PaddingReceived(1); 581 packet_buffer_->PaddingReceived(1);
582 ASSERT_EQ(2UL, frames_from_callback_.size()); 582 ASSERT_EQ(2UL, frames_from_callback_.size());
583 CheckFrame(0); 583 CheckFrame(0);
584 CheckFrame(2); 584 CheckFrame(2);
585 } 585 }
586 586
587 } // namespace video_coding 587 } // namespace video_coding
588 } // namespace webrtc 588 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/video_coding/video_coding_impl.cc ('k') | webrtc/modules/video_coding/video_receiver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698