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

Side by Side Diff: webrtc/pc/channelmanager_unittest.cc

Issue 2969623003: Update includes for webrtc/{base => rtc_base} rename (2/3) (Closed)
Patch Set: Rebased onto 224e65939af87443addfc5bb500fbf434728bd1c and restored sorting in clock.cc 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
« no previous file with comments | « webrtc/pc/channelmanager.cc ('k') | webrtc/pc/createpeerconnectionfactory.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2008 The WebRTC project authors. All Rights Reserved. 2 * Copyright 2008 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 <memory> 11 #include <memory>
12 12
13 #include "webrtc/base/gunit.h"
14 #include "webrtc/base/logging.h"
15 #include "webrtc/base/thread.h"
16 #include "webrtc/logging/rtc_event_log/rtc_event_log.h" 13 #include "webrtc/logging/rtc_event_log/rtc_event_log.h"
17 #include "webrtc/media/base/fakemediaengine.h" 14 #include "webrtc/media/base/fakemediaengine.h"
18 #include "webrtc/media/base/fakevideocapturer.h" 15 #include "webrtc/media/base/fakevideocapturer.h"
19 #include "webrtc/media/base/testutils.h" 16 #include "webrtc/media/base/testutils.h"
20 #include "webrtc/media/engine/fakewebrtccall.h" 17 #include "webrtc/media/engine/fakewebrtccall.h"
21 #include "webrtc/p2p/base/faketransportcontroller.h" 18 #include "webrtc/p2p/base/faketransportcontroller.h"
22 #include "webrtc/pc/channelmanager.h" 19 #include "webrtc/pc/channelmanager.h"
20 #include "webrtc/rtc_base/gunit.h"
21 #include "webrtc/rtc_base/logging.h"
22 #include "webrtc/rtc_base/thread.h"
23 23
24 namespace { 24 namespace {
25 const bool kDefaultSrtpRequired = true; 25 const bool kDefaultSrtpRequired = true;
26 } 26 }
27 27
28 namespace cricket { 28 namespace cricket {
29 29
30 static const AudioCodec kAudioCodecs[] = { 30 static const AudioCodec kAudioCodecs[] = {
31 AudioCodec(97, "voice", 1, 2, 3), AudioCodec(111, "OPUS", 48000, 32000, 2), 31 AudioCodec(97, "voice", 1, 2, 3), AudioCodec(111, "OPUS", 48000, 32000, 2),
32 }; 32 };
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 EXPECT_FALSE(cm_->SetVideoRtxEnabled(false)); 177 EXPECT_FALSE(cm_->SetVideoRtxEnabled(false));
178 178
179 // Can set again after terminate. 179 // Can set again after terminate.
180 cm_->Terminate(); 180 cm_->Terminate();
181 EXPECT_TRUE(cm_->SetVideoRtxEnabled(true)); 181 EXPECT_TRUE(cm_->SetVideoRtxEnabled(true));
182 cm_->GetSupportedVideoCodecs(&codecs); 182 cm_->GetSupportedVideoCodecs(&codecs);
183 EXPECT_TRUE(ContainsMatchingCodec(codecs, rtx_codec)); 183 EXPECT_TRUE(ContainsMatchingCodec(codecs, rtx_codec));
184 } 184 }
185 185
186 } // namespace cricket 186 } // namespace cricket
OLDNEW
« no previous file with comments | « webrtc/pc/channelmanager.cc ('k') | webrtc/pc/createpeerconnectionfactory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698