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

Side by Side Diff: webrtc/p2p/quic/quicsession_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/p2p/quic/quicsession.cc ('k') | webrtc/p2p/quic/quictransport.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 2016 The WebRTC Project Authors. All rights reserved. 2 * Copyright 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 "webrtc/p2p/quic/quicsession.h" 11 #include "webrtc/p2p/quic/quicsession.h"
12 12
13 #include <memory> 13 #include <memory>
14 #include <string> 14 #include <string>
15 #include <vector> 15 #include <vector>
16 16
17 #include "net/base/ip_endpoint.h" 17 #include "net/base/ip_endpoint.h"
18 #include "net/quic/crypto/crypto_server_config_protobuf.h" 18 #include "net/quic/crypto/crypto_server_config_protobuf.h"
19 #include "net/quic/crypto/quic_random.h"
20 #include "net/quic/crypto/proof_source.h" 19 #include "net/quic/crypto/proof_source.h"
21 #include "net/quic/crypto/proof_verifier.h" 20 #include "net/quic/crypto/proof_verifier.h"
22 #include "net/quic/crypto/quic_crypto_client_config.h" 21 #include "net/quic/crypto/quic_crypto_client_config.h"
23 #include "net/quic/crypto/quic_crypto_server_config.h" 22 #include "net/quic/crypto/quic_crypto_server_config.h"
23 #include "net/quic/crypto/quic_random.h"
24 #include "net/quic/quic_crypto_client_stream.h" 24 #include "net/quic/quic_crypto_client_stream.h"
25 #include "net/quic/quic_crypto_server_stream.h" 25 #include "net/quic/quic_crypto_server_stream.h"
26 #include "webrtc/base/gunit.h"
27 #include "webrtc/p2p/base/faketransportcontroller.h" 26 #include "webrtc/p2p/base/faketransportcontroller.h"
28 #include "webrtc/p2p/quic/quicconnectionhelper.h" 27 #include "webrtc/p2p/quic/quicconnectionhelper.h"
29 #include "webrtc/p2p/quic/reliablequicstream.h" 28 #include "webrtc/p2p/quic/reliablequicstream.h"
29 #include "webrtc/rtc_base/gunit.h"
30 30
31 using net::IPAddress; 31 using net::IPAddress;
32 using net::IPEndPoint; 32 using net::IPEndPoint;
33 using net::PerPacketOptions; 33 using net::PerPacketOptions;
34 using net::Perspective; 34 using net::Perspective;
35 using net::ProofVerifyContext; 35 using net::ProofVerifyContext;
36 using net::ProofVerifyDetails; 36 using net::ProofVerifyDetails;
37 using net::QuicByteCount; 37 using net::QuicByteCount;
38 using net::QuicClock; 38 using net::QuicClock;
39 using net::QuicCompressedCertsCache; 39 using net::QuicCompressedCertsCache;
(...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after
466 StartHandshake(true, true); 466 StartHandshake(true, true);
467 ASSERT_TRUE_WAIT(client_peer_->IsCryptoHandshakeConfirmed() && 467 ASSERT_TRUE_WAIT(client_peer_->IsCryptoHandshakeConfirmed() &&
468 server_peer_->IsCryptoHandshakeConfirmed(), 468 server_peer_->IsCryptoHandshakeConfirmed(),
469 kTimeoutMs); 469 kTimeoutMs);
470 ReliableQuicStream* stream = client_peer_->CreateOutgoingDynamicStream(5); 470 ReliableQuicStream* stream = client_peer_->CreateOutgoingDynamicStream(5);
471 ASSERT_NE(nullptr, stream); 471 ASSERT_NE(nullptr, stream);
472 EXPECT_FALSE(client_peer_->IsClosedStream(stream->id())); 472 EXPECT_FALSE(client_peer_->IsClosedStream(stream->id()));
473 stream->Close(); 473 stream->Close();
474 EXPECT_TRUE(client_peer_->IsClosedStream(stream->id())); 474 EXPECT_TRUE(client_peer_->IsClosedStream(stream->id()));
475 } 475 }
OLDNEW
« no previous file with comments | « webrtc/p2p/quic/quicsession.cc ('k') | webrtc/p2p/quic/quictransport.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698