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

Side by Side Diff: net/quic/chromium/quic_chromium_client_session.h

Issue 2862563003: Landing Recent QUIC changes until Sat Apr 29 00:22:04 2017 +0000 (Closed)
Patch Set: rebase and fix test bugs detected by swarm bot. Created 3 years, 7 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 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // A client specific QuicSession subclass. This class owns the underlying 5 // A client specific QuicSession subclass. This class owns the underlying
6 // QuicConnection and QuicConnectionHelper objects. The connection stores 6 // QuicConnection and QuicConnectionHelper objects. The connection stores
7 // a non-owning pointer to the helper so this session needs to ensure that 7 // a non-owning pointer to the helper so this session needs to ensure that
8 // the helper outlives the connection. 8 // the helper outlives the connection.
9 9
10 #ifndef NET_QUIC_CHROMIUM_QUIC_CHROMIUM_CLIENT_SESSION_H_ 10 #ifndef NET_QUIC_CHROMIUM_QUIC_CHROMIUM_CLIENT_SESSION_H_
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 const char* const connection_description, 157 const char* const connection_description,
158 base::TimeTicks dns_resolution_start_time, 158 base::TimeTicks dns_resolution_start_time,
159 base::TimeTicks dns_resolution_end_time, 159 base::TimeTicks dns_resolution_end_time,
160 QuicClientPushPromiseIndex* push_promise_index, 160 QuicClientPushPromiseIndex* push_promise_index,
161 ServerPushDelegate* push_delegate, 161 ServerPushDelegate* push_delegate,
162 base::TaskRunner* task_runner, 162 base::TaskRunner* task_runner,
163 std::unique_ptr<SocketPerformanceWatcher> socket_performance_watcher, 163 std::unique_ptr<SocketPerformanceWatcher> socket_performance_watcher,
164 NetLog* net_log); 164 NetLog* net_log);
165 ~QuicChromiumClientSession() override; 165 ~QuicChromiumClientSession() override;
166 166
167 std::unique_ptr<QuicStream> CreateStream(QuicStreamId id) override;
168
167 void Initialize() override; 169 void Initialize() override;
168 170
169 void AddObserver(Observer* observer); 171 void AddObserver(Observer* observer);
170 void RemoveObserver(Observer* observer); 172 void RemoveObserver(Observer* observer);
171 173
172 // Waits for the handshake to be confirmed and invokes |callback| when 174 // Waits for the handshake to be confirmed and invokes |callback| when
173 // that happens. If the handshake has already been confirmed, returns OK. 175 // that happens. If the handshake has already been confirmed, returns OK.
174 // If the connection has already been closed, returns a net error. If the 176 // If the connection has already been closed, returns a net error. If the
175 // connection closes before the handshake is confirmed, |callback| will 177 // connection closes before the handshake is confirmed, |callback| will
176 // be invoked with an error. 178 // be invoked with an error.
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
431 // the current sockets_.size() == the passed in value. 433 // the current sockets_.size() == the passed in value.
432 bool migration_pending_; // True while migration is underway. 434 bool migration_pending_; // True while migration is underway.
433 base::WeakPtrFactory<QuicChromiumClientSession> weak_factory_; 435 base::WeakPtrFactory<QuicChromiumClientSession> weak_factory_;
434 436
435 DISALLOW_COPY_AND_ASSIGN(QuicChromiumClientSession); 437 DISALLOW_COPY_AND_ASSIGN(QuicChromiumClientSession);
436 }; 438 };
437 439
438 } // namespace net 440 } // namespace net
439 441
440 #endif // NET_QUIC_CHROMIUM_QUIC_CHROMIUM_CLIENT_SESSION_H_ 442 #endif // NET_QUIC_CHROMIUM_QUIC_CHROMIUM_CLIENT_SESSION_H_
OLDNEW
« no previous file with comments | « net/quic/chromium/bidirectional_stream_quic_impl_unittest.cc ('k') | net/quic/chromium/quic_chromium_client_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698