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

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

Issue 3007763002: Move array_view.h to webrtc/api/ (Closed)
Patch Set: rebase Created 3 years, 3 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/BUILD.gn ('k') | webrtc/rtc_base/BUILD.gn » ('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 2009 The WebRTC project authors. All Rights Reserved. 2 * Copyright 2009 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/api/array_view.h"
13 #include "webrtc/media/base/fakemediaengine.h" 14 #include "webrtc/media/base/fakemediaengine.h"
14 #include "webrtc/media/base/fakertp.h" 15 #include "webrtc/media/base/fakertp.h"
15 #include "webrtc/media/base/mediachannel.h" 16 #include "webrtc/media/base/mediachannel.h"
16 #include "webrtc/media/base/testutils.h" 17 #include "webrtc/media/base/testutils.h"
17 #include "webrtc/p2p/base/fakecandidatepair.h" 18 #include "webrtc/p2p/base/fakecandidatepair.h"
18 #include "webrtc/p2p/base/fakedtlstransport.h" 19 #include "webrtc/p2p/base/fakedtlstransport.h"
19 #include "webrtc/p2p/base/fakepackettransport.h" 20 #include "webrtc/p2p/base/fakepackettransport.h"
20 #include "webrtc/pc/channel.h" 21 #include "webrtc/pc/channel.h"
21 #include "webrtc/rtc_base/array_view.h"
22 #include "webrtc/rtc_base/buffer.h" 22 #include "webrtc/rtc_base/buffer.h"
23 #include "webrtc/rtc_base/checks.h" 23 #include "webrtc/rtc_base/checks.h"
24 #include "webrtc/rtc_base/fakeclock.h" 24 #include "webrtc/rtc_base/fakeclock.h"
25 #include "webrtc/rtc_base/gunit.h" 25 #include "webrtc/rtc_base/gunit.h"
26 #include "webrtc/rtc_base/logging.h" 26 #include "webrtc/rtc_base/logging.h"
27 #include "webrtc/rtc_base/sslstreamadapter.h" 27 #include "webrtc/rtc_base/sslstreamadapter.h"
28 28
29 using cricket::CA_OFFER; 29 using cricket::CA_OFFER;
30 using cricket::CA_PRANSWER; 30 using cricket::CA_PRANSWER;
31 using cricket::CA_ANSWER; 31 using cricket::CA_ANSWER;
(...skipping 3865 matching lines...) Expand 10 before | Expand all | Expand 10 after
3897 ASSERT_TRUE(voice_channel_.Init_w(nullptr, nullptr, &fake_rtp_dtls_transport_, 3897 ASSERT_TRUE(voice_channel_.Init_w(nullptr, nullptr, &fake_rtp_dtls_transport_,
3898 &fake_rtcp_dtls_transport_)); 3898 &fake_rtcp_dtls_transport_));
3899 EXPECT_DEATH(voice_channel_.SetTransports(&fake_rtp_dtls_transport_, 3899 EXPECT_DEATH(voice_channel_.SetTransports(&fake_rtp_dtls_transport_,
3900 &fake_rtp_dtls_transport_), 3900 &fake_rtp_dtls_transport_),
3901 ""); 3901 "");
3902 } 3902 }
3903 3903
3904 #endif // RTC_DCHECK_IS_ON && GTEST_HAS_DEATH_TEST && !defined(WEBRTC_ANDROID) 3904 #endif // RTC_DCHECK_IS_ON && GTEST_HAS_DEATH_TEST && !defined(WEBRTC_ANDROID)
3905 3905
3906 // TODO(pthatcher): TestSetReceiver? 3906 // TODO(pthatcher): TestSetReceiver?
OLDNEW
« no previous file with comments | « webrtc/pc/BUILD.gn ('k') | webrtc/rtc_base/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698