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

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

Issue 1987913002: QUIC - add new UMA histograms to help understand HPACK head of line blocking. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review feedback Created 4 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
« no previous file with comments | « no previous file | net/quic/quic_chromium_client_session.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 (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_QUIC_CHROMIUM_CLIENT_SESSION_H_ 10 #ifndef NET_QUIC_QUIC_CHROMIUM_CLIENT_SESSION_H_
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 const QuicConfig& config, 131 const QuicConfig& config,
132 QuicCryptoClientConfig* crypto_config, 132 QuicCryptoClientConfig* crypto_config,
133 const char* const connection_description, 133 const char* const connection_description,
134 base::TimeTicks dns_resolution_end_time, 134 base::TimeTicks dns_resolution_end_time,
135 QuicClientPushPromiseIndex* push_promise_index, 135 QuicClientPushPromiseIndex* push_promise_index,
136 base::TaskRunner* task_runner, 136 base::TaskRunner* task_runner,
137 std::unique_ptr<SocketPerformanceWatcher> socket_performance_watcher, 137 std::unique_ptr<SocketPerformanceWatcher> socket_performance_watcher,
138 NetLog* net_log); 138 NetLog* net_log);
139 ~QuicChromiumClientSession() override; 139 ~QuicChromiumClientSession() override;
140 140
141 void Initialize() override;
142
141 void AddObserver(Observer* observer); 143 void AddObserver(Observer* observer);
142 void RemoveObserver(Observer* observer); 144 void RemoveObserver(Observer* observer);
143 145
144 // Attempts to create a new stream. If the stream can be 146 // Attempts to create a new stream. If the stream can be
145 // created immediately, returns OK. If the open stream limit 147 // created immediately, returns OK. If the open stream limit
146 // has been reached, returns ERR_IO_PENDING, and |request| 148 // has been reached, returns ERR_IO_PENDING, and |request|
147 // will be added to the stream requets queue and will 149 // will be added to the stream requets queue and will
148 // be completed asynchronously. 150 // be completed asynchronously.
149 // TODO(rch): remove |stream| from this and use setter on |request| 151 // TODO(rch): remove |stream| from this and use setter on |request|
150 // and fix in spdy too. 152 // and fix in spdy too.
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
351 int streams_pushed_count_; 353 int streams_pushed_count_;
352 int streams_pushed_and_claimed_count_; 354 int streams_pushed_and_claimed_count_;
353 base::WeakPtrFactory<QuicChromiumClientSession> weak_factory_; 355 base::WeakPtrFactory<QuicChromiumClientSession> weak_factory_;
354 356
355 DISALLOW_COPY_AND_ASSIGN(QuicChromiumClientSession); 357 DISALLOW_COPY_AND_ASSIGN(QuicChromiumClientSession);
356 }; 358 };
357 359
358 } // namespace net 360 } // namespace net
359 361
360 #endif // NET_QUIC_QUIC_CHROMIUM_CLIENT_SESSION_H_ 362 #endif // NET_QUIC_QUIC_CHROMIUM_CLIENT_SESSION_H_
OLDNEW
« no previous file with comments | « no previous file | net/quic/quic_chromium_client_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698