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

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

Issue 10834215: Remove static variables from HttpStreamFactory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: typo Created 8 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/chrome_browser_main.cc ('k') | chrome/browser/io_thread.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 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 18 matching lines...) Expand all
29 } 29 }
30 30
31 namespace extensions { 31 namespace extensions {
32 class EventRouterForwarder; 32 class EventRouterForwarder;
33 } 33 }
34 34
35 namespace net { 35 namespace net {
36 class CertVerifier; 36 class CertVerifier;
37 class CookieStore; 37 class CookieStore;
38 class FtpTransactionFactory; 38 class FtpTransactionFactory;
39 class HostMappingRules;
39 class HostResolver; 40 class HostResolver;
40 class HttpAuthHandlerFactory; 41 class HttpAuthHandlerFactory;
41 class HttpServerProperties; 42 class HttpServerProperties;
42 class HttpTransactionFactory; 43 class HttpTransactionFactory;
43 class NetworkDelegate; 44 class NetworkDelegate;
44 class ServerBoundCertService; 45 class ServerBoundCertService;
45 class ProxyConfigService; 46 class ProxyConfigService;
46 class ProxyService; 47 class ProxyService;
47 class SdchManager; 48 class SdchManager;
48 class SSLConfigService; 49 class SSLConfigService;
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 SystemRequestContextLeakChecker system_request_context_leak_checker; 107 SystemRequestContextLeakChecker system_request_context_leak_checker;
107 // |system_cookie_store| and |system_server_bound_cert_service| are shared 108 // |system_cookie_store| and |system_server_bound_cert_service| are shared
108 // between |proxy_script_fetcher_context| and |system_request_context|. 109 // between |proxy_script_fetcher_context| and |system_request_context|.
109 scoped_refptr<net::CookieStore> system_cookie_store; 110 scoped_refptr<net::CookieStore> system_cookie_store;
110 scoped_ptr<net::ServerBoundCertService> system_server_bound_cert_service; 111 scoped_ptr<net::ServerBoundCertService> system_server_bound_cert_service;
111 scoped_refptr<extensions::EventRouterForwarder> 112 scoped_refptr<extensions::EventRouterForwarder>
112 extension_event_router_forwarder; 113 extension_event_router_forwarder;
113 scoped_ptr<chrome_browser_net::HttpPipeliningCompatibilityClient> 114 scoped_ptr<chrome_browser_net::HttpPipeliningCompatibilityClient>
114 http_pipelining_compatibility_client; 115 http_pipelining_compatibility_client;
115 scoped_ptr<chrome_browser_net::LoadTimeStats> load_time_stats; 116 scoped_ptr<chrome_browser_net::LoadTimeStats> load_time_stats;
117 scoped_ptr<net::HostMappingRules> host_mapping_rules;
118 bool ignore_certificate_errors;
119 bool http_pipelining_enabled;
120 uint16 testing_fixed_http_port;
121 uint16 testing_fixed_https_port;
116 }; 122 };
117 123
118 // |net_log| must either outlive the IOThread or be NULL. 124 // |net_log| must either outlive the IOThread or be NULL.
119 IOThread(PrefService* local_state, 125 IOThread(PrefService* local_state,
120 ChromeNetLog* net_log, 126 ChromeNetLog* net_log,
121 extensions::EventRouterForwarder* extension_event_router_forwarder); 127 extensions::EventRouterForwarder* extension_event_router_forwarder);
122 128
123 virtual ~IOThread(); 129 virtual ~IOThread();
124 130
125 // Can only be called on the IO thread. 131 // Can only be called on the IO thread.
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 system_url_request_context_getter_; 221 system_url_request_context_getter_;
216 222
217 net::SdchManager* sdch_manager_; 223 net::SdchManager* sdch_manager_;
218 224
219 base::WeakPtrFactory<IOThread> weak_factory_; 225 base::WeakPtrFactory<IOThread> weak_factory_;
220 226
221 DISALLOW_COPY_AND_ASSIGN(IOThread); 227 DISALLOW_COPY_AND_ASSIGN(IOThread);
222 }; 228 };
223 229
224 #endif // CHROME_BROWSER_IO_THREAD_H_ 230 #endif // CHROME_BROWSER_IO_THREAD_H_
OLDNEW
« no previous file with comments | « chrome/browser/chrome_browser_main.cc ('k') | chrome/browser/io_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698