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

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: lint fixes 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 | « no previous file | chrome/browser/io_thread.cc » ('j') | chrome/browser/io_thread.cc » ('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"
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 ChromeNetLog; 21 class ChromeNetLog;
22 class PrefProxyConfigTrackerImpl; 22 class PrefProxyConfigTrackerImpl;
23 class PrefService; 23 class PrefService;
24 class SystemURLRequestContextGetter; 24 class SystemURLRequestContextGetter;
25 class BasicHttpUserAgentSettings;
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
31 namespace extensions { 32 namespace extensions {
32 class EventRouterForwarder; 33 class EventRouterForwarder;
33 } 34 }
34 35
(...skipping 73 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/09/25 21:06:38 Does this need to be the derived type?
pauljensen 2012/09/26 14:08:19 It doesn't need to be but it seems like the most d
erikwright (departed) 2012/09/26 14:19:36 OK. I think the convention would be to use the lea
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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 system_url_request_context_getter_; 223 system_url_request_context_getter_;
222 224
223 net::SdchManager* sdch_manager_; 225 net::SdchManager* sdch_manager_;
224 226
225 base::WeakPtrFactory<IOThread> weak_factory_; 227 base::WeakPtrFactory<IOThread> weak_factory_;
226 228
227 DISALLOW_COPY_AND_ASSIGN(IOThread); 229 DISALLOW_COPY_AND_ASSIGN(IOThread);
228 }; 230 };
229 231
230 #endif // CHROME_BROWSER_IO_THREAD_H_ 232 #endif // CHROME_BROWSER_IO_THREAD_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/io_thread.cc » ('j') | chrome/browser/io_thread.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698