Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(27)

Side by Side Diff: chrome/browser/io_thread.h

Issue 11416058: Integrating the QuicStreamFactory into the network stack. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years 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
« no previous file with comments | « no previous file | chrome/browser/io_thread.cc » ('j') | chrome/common/chrome_switches.h » ('J')
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 CHROME_BROWSER_IO_THREAD_H_ 5 #ifndef CHROME_BROWSER_IO_THREAD_H_
6 #define CHROME_BROWSER_IO_THREAD_H_ 6 #define CHROME_BROWSER_IO_THREAD_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 uint16 testing_fixed_https_port; 151 uint16 testing_fixed_https_port;
152 Optional<size_t> max_spdy_sessions_per_domain; 152 Optional<size_t> max_spdy_sessions_per_domain;
153 Optional<size_t> initial_max_spdy_concurrent_streams; 153 Optional<size_t> initial_max_spdy_concurrent_streams;
154 Optional<size_t> max_spdy_concurrent_streams_limit; 154 Optional<size_t> max_spdy_concurrent_streams_limit;
155 Optional<bool> force_spdy_single_domain; 155 Optional<bool> force_spdy_single_domain;
156 Optional<bool> enable_spdy_ip_pooling; 156 Optional<bool> enable_spdy_ip_pooling;
157 Optional<bool> enable_spdy_credential_frames; 157 Optional<bool> enable_spdy_credential_frames;
158 Optional<bool> enable_spdy_compression; 158 Optional<bool> enable_spdy_compression;
159 Optional<bool> enable_spdy_ping_based_connection_checking; 159 Optional<bool> enable_spdy_ping_based_connection_checking;
160 Optional<net::NextProto> spdy_default_protocol; 160 Optional<net::NextProto> spdy_default_protocol;
161 Optional<uint16> force_quic_when_origin_has_port;
Nico 2012/12/13 20:10:00 nit: The name suggests that this is a bool. Instea
Ryan Hamilton 2012/12/14 02:45:46 Done.
161 // NetErrorTabHelper uses |dns_probe_service| to send DNS probes when a 162 // NetErrorTabHelper uses |dns_probe_service| to send DNS probes when a
162 // main frame load fails with a DNS error in order to provide more useful 163 // main frame load fails with a DNS error in order to provide more useful
163 // information to the renderer so it can show a more specific error page. 164 // information to the renderer so it can show a more specific error page.
164 scoped_ptr<chrome_browser_net::DnsProbeService> dns_probe_service; 165 scoped_ptr<chrome_browser_net::DnsProbeService> dns_probe_service;
165 }; 166 };
166 167
167 // |net_log| must either outlive the IOThread or be NULL. 168 // |net_log| must either outlive the IOThread or be NULL.
168 IOThread(PrefService* local_state, 169 IOThread(PrefService* local_state,
169 policy::PolicyService* policy_service, 170 policy::PolicyService* policy_service,
170 ChromeNetLog* net_log, 171 ChromeNetLog* net_log,
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 295
295 // True if SPDY is disabled by policy. 296 // True if SPDY is disabled by policy.
296 bool is_spdy_disabled_by_policy_; 297 bool is_spdy_disabled_by_policy_;
297 298
298 base::WeakPtrFactory<IOThread> weak_factory_; 299 base::WeakPtrFactory<IOThread> weak_factory_;
299 300
300 DISALLOW_COPY_AND_ASSIGN(IOThread); 301 DISALLOW_COPY_AND_ASSIGN(IOThread);
301 }; 302 };
302 303
303 #endif // CHROME_BROWSER_IO_THREAD_H_ 304 #endif // CHROME_BROWSER_IO_THREAD_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/io_thread.cc » ('j') | chrome/common/chrome_switches.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698