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

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

Issue 182993003: Add the ability for DevTools to wrap network transactions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments Created 6 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 | Annotate | Revision Log
« net/net.gyp ('K') | « net/net.gypi ('k') | no next file » | 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 <list> 8 #include <list>
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 bool require_confirmation() const { return require_confirmation_; } 151 bool require_confirmation() const { return require_confirmation_; }
152 152
153 void set_require_confirmation(bool require_confirmation) { 153 void set_require_confirmation(bool require_confirmation) {
154 require_confirmation_ = require_confirmation; 154 require_confirmation_ = require_confirmation;
155 } 155 }
156 156
157 QuicConnectionHelper* helper() { return helper_.get(); } 157 QuicConnectionHelper* helper() { return helper_.get(); }
158 158
159 bool enable_port_selection() const { return enable_port_selection_; } 159 bool enable_port_selection() const { return enable_port_selection_; }
160 160
161 bool has_quic_server_info_factory() { return quic_server_info_factory_; }
162
161 void set_quic_server_info_factory( 163 void set_quic_server_info_factory(
162 QuicServerInfoFactory* quic_server_info_factory) { 164 QuicServerInfoFactory* quic_server_info_factory) {
163 DCHECK(!quic_server_info_factory_); 165 DCHECK(!quic_server_info_factory_);
164 quic_server_info_factory_ = quic_server_info_factory; 166 quic_server_info_factory_ = quic_server_info_factory;
165 } 167 }
166 168
167 bool enable_pacing() const { return enable_pacing_; } 169 bool enable_pacing() const { return enable_pacing_; }
168 170
169 private: 171 private:
170 class Job; 172 class Job;
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 uint64 port_seed_; 279 uint64 port_seed_;
278 280
279 base::WeakPtrFactory<QuicStreamFactory> weak_factory_; 281 base::WeakPtrFactory<QuicStreamFactory> weak_factory_;
280 282
281 DISALLOW_COPY_AND_ASSIGN(QuicStreamFactory); 283 DISALLOW_COPY_AND_ASSIGN(QuicStreamFactory);
282 }; 284 };
283 285
284 } // namespace net 286 } // namespace net
285 287
286 #endif // NET_QUIC_QUIC_STREAM_FACTORY_H_ 288 #endif // NET_QUIC_QUIC_STREAM_FACTORY_H_
OLDNEW
« net/net.gyp ('K') | « net/net.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698