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

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

Issue 126243002: Add the override annotation to all necessary methods in .../quic/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 | Annotate | Revision Log
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 <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 public: 84 public:
85 QuicStreamFactory( 85 QuicStreamFactory(
86 HostResolver* host_resolver, 86 HostResolver* host_resolver,
87 ClientSocketFactory* client_socket_factory, 87 ClientSocketFactory* client_socket_factory,
88 base::WeakPtr<HttpServerProperties> http_server_properties, 88 base::WeakPtr<HttpServerProperties> http_server_properties,
89 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory, 89 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory,
90 QuicRandom* random_generator, 90 QuicRandom* random_generator,
91 QuicClock* clock, 91 QuicClock* clock,
92 size_t max_packet_length, 92 size_t max_packet_length,
93 const QuicVersionVector& supported_versions); 93 const QuicVersionVector& supported_versions);
94 virtual ~QuicStreamFactory(); 94 virtual ~QuicStreamFactory() OVERRIDE;
95 95
96 // Creates a new QuicHttpStream to |host_port_proxy_pair| which will be 96 // Creates a new QuicHttpStream to |host_port_proxy_pair| which will be
97 // owned by |request|. |is_https| specifies if the protocol is https or not. 97 // owned by |request|. |is_https| specifies if the protocol is https or not.
98 // |cert_verifier| is used by ProofVerifier for verifying the certificate 98 // |cert_verifier| is used by ProofVerifier for verifying the certificate
99 // chain and signature. For http, this can be null. If a matching session 99 // chain and signature. For http, this can be null. If a matching session
100 // already exists, this method will return OK. If no matching session exists, 100 // already exists, this method will return OK. If no matching session exists,
101 // this will return ERR_IO_PENDING and will invoke OnRequestComplete 101 // this will return ERR_IO_PENDING and will invoke OnRequestComplete
102 // asynchronously. 102 // asynchronously.
103 int Create(const HostPortProxyPair& host_port_proxy_pair, 103 int Create(const HostPortProxyPair& host_port_proxy_pair,
104 bool is_https, 104 bool is_https,
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 uint64 port_seed_; 246 uint64 port_seed_;
247 247
248 base::WeakPtrFactory<QuicStreamFactory> weak_factory_; 248 base::WeakPtrFactory<QuicStreamFactory> weak_factory_;
249 249
250 DISALLOW_COPY_AND_ASSIGN(QuicStreamFactory); 250 DISALLOW_COPY_AND_ASSIGN(QuicStreamFactory);
251 }; 251 };
252 252
253 } // namespace net 253 } // namespace net
254 254
255 #endif // NET_QUIC_QUIC_STREAM_FACTORY_H_ 255 #endif // NET_QUIC_QUIC_STREAM_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698