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

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

Issue 2324183002: Implement QuicHttpStream::GetLoadTimingInfo (Closed)
Patch Set: fix flaky TestTwoRequests Created 4 years, 3 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/quic/chromium/quic_http_stream_test.cc ('k') | net/quic/chromium/quic_stream_factory.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 #ifndef NET_QUIC_QUIC_STREAM_FACTORY_H_ 5 #ifndef NET_QUIC_QUIC_STREAM_FACTORY_H_
6 #define NET_QUIC_QUIC_STREAM_FACTORY_H_ 6 #define NET_QUIC_QUIC_STREAM_FACTORY_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after
422 bool OnResolution(const QuicSessionKey& key, const AddressList& address_list); 422 bool OnResolution(const QuicSessionKey& key, const AddressList& address_list);
423 void OnJobComplete(Job* job, int rv); 423 void OnJobComplete(Job* job, int rv);
424 void OnCertVerifyJobComplete(CertVerifierJob* job, int rv); 424 void OnCertVerifyJobComplete(CertVerifierJob* job, int rv);
425 bool HasActiveSession(const QuicServerId& server_id) const; 425 bool HasActiveSession(const QuicServerId& server_id) const;
426 bool HasActiveJob(const QuicServerId& server_id) const; 426 bool HasActiveJob(const QuicServerId& server_id) const;
427 bool HasActiveCertVerifierJob(const QuicServerId& server_id) const; 427 bool HasActiveCertVerifierJob(const QuicServerId& server_id) const;
428 int CreateSession(const QuicSessionKey& key, 428 int CreateSession(const QuicSessionKey& key,
429 int cert_verify_flags, 429 int cert_verify_flags,
430 std::unique_ptr<QuicServerInfo> quic_server_info, 430 std::unique_ptr<QuicServerInfo> quic_server_info,
431 const AddressList& address_list, 431 const AddressList& address_list,
432 base::TimeTicks dns_resolution_start_time,
432 base::TimeTicks dns_resolution_end_time, 433 base::TimeTicks dns_resolution_end_time,
433 const BoundNetLog& net_log, 434 const BoundNetLog& net_log,
434 QuicChromiumClientSession** session); 435 QuicChromiumClientSession** session);
435 void ActivateSession(const QuicSessionKey& key, 436 void ActivateSession(const QuicSessionKey& key,
436 QuicChromiumClientSession* session); 437 QuicChromiumClientSession* session);
437 438
438 // Returns |srtt| in micro seconds from ServerNetworkStats. Returns 0 if there 439 // Returns |srtt| in micro seconds from ServerNetworkStats. Returns 0 if there
439 // is no |http_server_properties_| or if |http_server_properties_| doesn't 440 // is no |http_server_properties_| or if |http_server_properties_| doesn't
440 // have ServerNetworkStats for the given |server_id|. 441 // have ServerNetworkStats for the given |server_id|.
441 int64_t GetServerNetworkStatsSmoothedRttInMicroseconds( 442 int64_t GetServerNetworkStatsSmoothedRttInMicroseconds(
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
646 const scoped_refptr<SSLConfigService> ssl_config_service_; 647 const scoped_refptr<SSLConfigService> ssl_config_service_;
647 648
648 base::WeakPtrFactory<QuicStreamFactory> weak_factory_; 649 base::WeakPtrFactory<QuicStreamFactory> weak_factory_;
649 650
650 DISALLOW_COPY_AND_ASSIGN(QuicStreamFactory); 651 DISALLOW_COPY_AND_ASSIGN(QuicStreamFactory);
651 }; 652 };
652 653
653 } // namespace net 654 } // namespace net
654 655
655 #endif // NET_QUIC_QUIC_STREAM_FACTORY_H_ 656 #endif // NET_QUIC_QUIC_STREAM_FACTORY_H_
OLDNEW
« no previous file with comments | « net/quic/chromium/quic_http_stream_test.cc ('k') | net/quic/chromium/quic_stream_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698