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

Side by Side Diff: net/quic/chromium/bidirectional_stream_quic_impl.cc

Issue 2193073003: Move shared files in net/quic/ into net/quic/core/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: io_thread_unittest.cc Created 4 years, 4 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 | « net/net.gypi ('k') | net/quic/chromium/bidirectional_stream_quic_impl_unittest.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 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "net/quic/chromium/bidirectional_stream_quic_impl.h" 5 #include "net/quic/chromium/bidirectional_stream_quic_impl.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/location.h" 10 #include "base/location.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/timer/timer.h" 12 #include "base/timer/timer.h"
13 #include "net/http/bidirectional_stream_request_info.h" 13 #include "net/http/bidirectional_stream_request_info.h"
14 #include "net/quic/quic_connection.h" 14 #include "net/quic/core/quic_connection.h"
15 #include "net/socket/next_proto.h" 15 #include "net/socket/next_proto.h"
16 #include "net/spdy/spdy_header_block.h" 16 #include "net/spdy/spdy_header_block.h"
17 #include "net/spdy/spdy_http_utils.h" 17 #include "net/spdy/spdy_http_utils.h"
18 18
19 namespace net { 19 namespace net {
20 20
21 BidirectionalStreamQuicImpl::BidirectionalStreamQuicImpl( 21 BidirectionalStreamQuicImpl::BidirectionalStreamQuicImpl(
22 const base::WeakPtr<QuicChromiumClientSession>& session) 22 const base::WeakPtr<QuicChromiumClientSession>& session)
23 : session_(session), 23 : session_(session),
24 was_handshake_confirmed_(session->IsCryptoHandshakeConfirmed()), 24 was_handshake_confirmed_(session->IsCryptoHandshakeConfirmed()),
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
347 void BidirectionalStreamQuicImpl::ResetStream() { 347 void BidirectionalStreamQuicImpl::ResetStream() {
348 if (!stream_) 348 if (!stream_)
349 return; 349 return;
350 closed_stream_received_bytes_ = stream_->stream_bytes_read(); 350 closed_stream_received_bytes_ = stream_->stream_bytes_read();
351 closed_stream_sent_bytes_ = stream_->stream_bytes_written(); 351 closed_stream_sent_bytes_ = stream_->stream_bytes_written();
352 stream_->SetDelegate(nullptr); 352 stream_->SetDelegate(nullptr);
353 stream_ = nullptr; 353 stream_ = nullptr;
354 } 354 }
355 355
356 } // namespace net 356 } // namespace net
OLDNEW
« no previous file with comments | « net/net.gypi ('k') | net/quic/chromium/bidirectional_stream_quic_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698