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

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

Issue 10918279: Provide mutable members of UrlRequestContext via pure-virtual interface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add TODO Created 8 years, 2 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 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"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
14 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
15 #include "chrome/browser/api/prefs/pref_member.h" 15 #include "chrome/browser/api/prefs/pref_member.h"
16 #include "chrome/browser/net/ssl_config_service_manager.h" 16 #include "chrome/browser/net/ssl_config_service_manager.h"
17 #include "content/public/browser/browser_thread.h" 17 #include "content/public/browser/browser_thread.h"
18 #include "content/public/browser/browser_thread_delegate.h" 18 #include "content/public/browser/browser_thread_delegate.h"
19 #include "net/base/network_change_notifier.h" 19 #include "net/base/network_change_notifier.h"
20 20
21 class BasicHttpUserAgentSettings;
21 class ChromeNetLog; 22 class ChromeNetLog;
22 class PrefProxyConfigTrackerImpl; 23 class PrefProxyConfigTrackerImpl;
23 class PrefService; 24 class PrefService;
24 class SystemURLRequestContextGetter; 25 class SystemURLRequestContextGetter;
25 26
26 namespace chrome_browser_net { 27 namespace chrome_browser_net {
27 class HttpPipeliningCompatibilityClient; 28 class HttpPipeliningCompatibilityClient;
28 class LoadTimeStats; 29 class LoadTimeStats;
29 } 30 }
30 31
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 // |system_cookie_store| and |system_server_bound_cert_service| are shared 109 // |system_cookie_store| and |system_server_bound_cert_service| are shared
109 // between |proxy_script_fetcher_context| and |system_request_context|. 110 // between |proxy_script_fetcher_context| and |system_request_context|.
110 scoped_refptr<net::CookieStore> system_cookie_store; 111 scoped_refptr<net::CookieStore> system_cookie_store;
111 scoped_ptr<net::ServerBoundCertService> system_server_bound_cert_service; 112 scoped_ptr<net::ServerBoundCertService> system_server_bound_cert_service;
112 scoped_refptr<extensions::EventRouterForwarder> 113 scoped_refptr<extensions::EventRouterForwarder>
113 extension_event_router_forwarder; 114 extension_event_router_forwarder;
114 scoped_ptr<chrome_browser_net::HttpPipeliningCompatibilityClient> 115 scoped_ptr<chrome_browser_net::HttpPipeliningCompatibilityClient>
115 http_pipelining_compatibility_client; 116 http_pipelining_compatibility_client;
116 scoped_ptr<chrome_browser_net::LoadTimeStats> load_time_stats; 117 scoped_ptr<chrome_browser_net::LoadTimeStats> load_time_stats;
117 scoped_ptr<net::HostMappingRules> host_mapping_rules; 118 scoped_ptr<net::HostMappingRules> host_mapping_rules;
119 scoped_ptr<BasicHttpUserAgentSettings> basic_http_user_agent_settings;
erikwright (departed) 2012/10/24 13:14:33 Does this need to be the derived type? Seems it co
118 bool ignore_certificate_errors; 120 bool ignore_certificate_errors;
119 bool http_pipelining_enabled; 121 bool http_pipelining_enabled;
120 uint16 testing_fixed_http_port; 122 uint16 testing_fixed_http_port;
121 uint16 testing_fixed_https_port; 123 uint16 testing_fixed_https_port;
122 }; 124 };
123 125
124 // |net_log| must either outlive the IOThread or be NULL. 126 // |net_log| must either outlive the IOThread or be NULL.
125 IOThread(PrefService* local_state, 127 IOThread(PrefService* local_state,
126 ChromeNetLog* net_log, 128 ChromeNetLog* net_log,
127 extensions::EventRouterForwarder* extension_event_router_forwarder); 129 extensions::EventRouterForwarder* extension_event_router_forwarder);
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 system_url_request_context_getter_; 224 system_url_request_context_getter_;
223 225
224 net::SdchManager* sdch_manager_; 226 net::SdchManager* sdch_manager_;
225 227
226 base::WeakPtrFactory<IOThread> weak_factory_; 228 base::WeakPtrFactory<IOThread> weak_factory_;
227 229
228 DISALLOW_COPY_AND_ASSIGN(IOThread); 230 DISALLOW_COPY_AND_ASSIGN(IOThread);
229 }; 231 };
230 232
231 #endif // CHROME_BROWSER_IO_THREAD_H_ 233 #endif // CHROME_BROWSER_IO_THREAD_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698