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

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

Issue 2648233003: Adding ability for BaseChannel to use PacketTransportInterface. (Closed)
Patch Set: Created 3 years, 11 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 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 1160 matching lines...) Expand 10 before | Expand all | Expand 10 after
1186 std::vector<DtlsTransportEvent>{ 1186 std::vector<DtlsTransportEvent>{
1187 CALLER_RECEIVES_CLIENTHELLO, CALLER_RECEIVES_FINGERPRINT, 1187 CALLER_RECEIVES_CLIENTHELLO, CALLER_RECEIVES_FINGERPRINT,
1188 CALLER_WRITABLE, HANDSHAKE_FINISHES}, 1188 CALLER_WRITABLE, HANDSHAKE_FINISHES},
1189 std::vector<DtlsTransportEvent>{ 1189 std::vector<DtlsTransportEvent>{
1190 CALLER_RECEIVES_CLIENTHELLO, CALLER_WRITABLE, 1190 CALLER_RECEIVES_CLIENTHELLO, CALLER_WRITABLE,
1191 CALLER_RECEIVES_FINGERPRINT, HANDSHAKE_FINISHES}, 1191 CALLER_RECEIVES_FINGERPRINT, HANDSHAKE_FINISHES},
1192 std::vector<DtlsTransportEvent>{CALLER_RECEIVES_CLIENTHELLO, 1192 std::vector<DtlsTransportEvent>{CALLER_RECEIVES_CLIENTHELLO,
1193 CALLER_WRITABLE, HANDSHAKE_FINISHES, 1193 CALLER_WRITABLE, HANDSHAKE_FINISHES,
1194 CALLER_RECEIVES_FINGERPRINT}), 1194 CALLER_RECEIVES_FINGERPRINT}),
1195 ::testing::Bool())); 1195 ::testing::Bool()));
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698