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

Side by Side Diff: webrtc/p2p/base/dtlstransportchannel_unittest.cc

Issue 2648233003: Adding ability for BaseChannel to use PacketTransportInterface. (Closed)
Patch Set: Fix TSAN warning in test by starting thread after setting fake clock Created 3 years, 10 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/p2p/BUILD.gn ('k') | webrtc/p2p/base/fakecandidatepair.h » ('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 2011 The WebRTC Project Authors. All rights reserved. 2 * Copyright 2011 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 #include <set> 12 #include <set>
13 13
14 #include "webrtc/p2p/base/dtlstransportchannel.h" 14 #include "webrtc/p2p/base/dtlstransportchannel.h"
15 #include "webrtc/p2p/base/faketransportcontroller.h" 15 #include "webrtc/p2p/base/fakeicetransport.h"
16 #include "webrtc/p2p/base/packettransportinterface.h" 16 #include "webrtc/p2p/base/packettransportinterface.h"
17 #include "webrtc/base/checks.h" 17 #include "webrtc/base/checks.h"
18 #include "webrtc/base/common.h" 18 #include "webrtc/base/common.h"
19 #include "webrtc/base/dscp.h" 19 #include "webrtc/base/dscp.h"
20 #include "webrtc/base/gunit.h" 20 #include "webrtc/base/gunit.h"
21 #include "webrtc/base/helpers.h" 21 #include "webrtc/base/helpers.h"
22 #include "webrtc/base/ssladapter.h" 22 #include "webrtc/base/ssladapter.h"
23 #include "webrtc/base/sslidentity.h" 23 #include "webrtc/base/sslidentity.h"
24 #include "webrtc/base/sslstreamadapter.h" 24 #include "webrtc/base/sslstreamadapter.h"
25 #include "webrtc/base/stringutils.h" 25 #include "webrtc/base/stringutils.h"
(...skipping 1136 matching lines...) Expand 10 before | Expand all | Expand 10 after
1162 std::vector<DtlsTransportEvent>{ 1162 std::vector<DtlsTransportEvent>{
1163 CALLER_RECEIVES_CLIENTHELLO, CALLER_RECEIVES_FINGERPRINT, 1163 CALLER_RECEIVES_CLIENTHELLO, CALLER_RECEIVES_FINGERPRINT,
1164 CALLER_WRITABLE, HANDSHAKE_FINISHES}, 1164 CALLER_WRITABLE, HANDSHAKE_FINISHES},
1165 std::vector<DtlsTransportEvent>{ 1165 std::vector<DtlsTransportEvent>{
1166 CALLER_RECEIVES_CLIENTHELLO, CALLER_WRITABLE, 1166 CALLER_RECEIVES_CLIENTHELLO, CALLER_WRITABLE,
1167 CALLER_RECEIVES_FINGERPRINT, HANDSHAKE_FINISHES}, 1167 CALLER_RECEIVES_FINGERPRINT, HANDSHAKE_FINISHES},
1168 std::vector<DtlsTransportEvent>{CALLER_RECEIVES_CLIENTHELLO, 1168 std::vector<DtlsTransportEvent>{CALLER_RECEIVES_CLIENTHELLO,
1169 CALLER_WRITABLE, HANDSHAKE_FINISHES, 1169 CALLER_WRITABLE, HANDSHAKE_FINISHES,
1170 CALLER_RECEIVES_FINGERPRINT}), 1170 CALLER_RECEIVES_FINGERPRINT}),
1171 ::testing::Bool())); 1171 ::testing::Bool()));
OLDNEW
« no previous file with comments | « webrtc/p2p/BUILD.gn ('k') | webrtc/p2p/base/fakecandidatepair.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698