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

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

Issue 1923133002: Replace the remaining scoped_ptr with unique_ptr in webrtc/modules/ (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Don't remove #include "scoped_ptr.h" from .h files Created 4 years, 7 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 <limits> 12 #include <limits>
13 #include <memory>
13 14
14 #include "webrtc/modules/video_coding/frame_object.h" 15 #include "webrtc/modules/video_coding/frame_object.h"
15 #include "webrtc/modules/video_coding/packet_buffer.h" 16 #include "webrtc/modules/video_coding/packet_buffer.h"
16 17
17 #include "testing/gtest/include/gtest/gtest.h" 18 #include "testing/gtest/include/gtest/gtest.h"
18 #include "webrtc/base/random.h" 19 #include "webrtc/base/random.h"
19 20
20 namespace webrtc { 21 namespace webrtc {
21 namespace video_coding { 22 namespace video_coding {
22 23
(...skipping 700 matching lines...) Expand 10 before | Expand all | Expand 10 after
723 724
724 ASSERT_EQ(4UL, frames_from_callback_.size()); 725 ASSERT_EQ(4UL, frames_from_callback_.size());
725 CheckReferences(pid); 726 CheckReferences(pid);
726 CheckReferences(pid + 1, pid); 727 CheckReferences(pid + 1, pid);
727 CheckReferences(pid + 2, pid + 1); 728 CheckReferences(pid + 2, pid + 1);
728 CheckReferences(pid + 3, pid + 2); 729 CheckReferences(pid + 3, pid + 2);
729 } 730 }
730 731
731 } // namespace video_coding 732 } // namespace video_coding
732 } // namespace webrtc 733 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/video_coding/packet_buffer.h ('k') | webrtc/modules/video_processing/util/noise_estimation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698