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

Side by Side Diff: chrome/browser/profiles/profile_io_data.h

Issue 7493025: Instantiate OriginBoundCertService in relevant places and do plumbing to pass it down to HttpNetw... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_PROFILES_PROFILE_IO_DATA_H_ 5 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_
6 #define CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ 6 #define CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_
7 #pragma once 7 #pragma once
8 8
9 #include <set> 9 #include <set>
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 21 matching lines...) Expand all
32 32
33 namespace fileapi { 33 namespace fileapi {
34 class FileSystemContext; 34 class FileSystemContext;
35 } // namespace fileapi 35 } // namespace fileapi
36 36
37 namespace net { 37 namespace net {
38 class CookieStore; 38 class CookieStore;
39 class DnsCertProvenanceChecker; 39 class DnsCertProvenanceChecker;
40 class HttpTransactionFactory; 40 class HttpTransactionFactory;
41 class NetLog; 41 class NetLog;
42 class OriginBoundCertService;
42 class ProxyConfigService; 43 class ProxyConfigService;
43 class ProxyService; 44 class ProxyService;
44 class SSLConfigService; 45 class SSLConfigService;
45 class TransportSecurityState; 46 class TransportSecurityState;
46 } // namespace net 47 } // namespace net
47 48
48 namespace prerender { 49 namespace prerender {
49 class PrerenderManager; 50 class PrerenderManager;
50 }; // namespace prerender 51 }; // namespace prerender
51 52
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 void ShutdownOnUIThread(); 201 void ShutdownOnUIThread();
201 202
202 BooleanPrefMember* enable_referrers() const { 203 BooleanPrefMember* enable_referrers() const {
203 return &enable_referrers_; 204 return &enable_referrers_;
204 } 205 }
205 206
206 ChromeURLDataManagerBackend* chrome_url_data_manager_backend() const { 207 ChromeURLDataManagerBackend* chrome_url_data_manager_backend() const {
207 return chrome_url_data_manager_backend_.get(); 208 return chrome_url_data_manager_backend_.get();
208 } 209 }
209 210
211 // An OriginBoundCertService object is created by a derived class of
212 // ProfileIOData, and the derived class calls this method to set the
213 // origin_bound_cert_service_ member and transfers ownership to the base
214 // class.
215 void set_origin_bound_cert_service(
216 net::OriginBoundCertService* origin_bound_cert_service) const;
217
210 net::NetworkDelegate* network_delegate() const { 218 net::NetworkDelegate* network_delegate() const {
211 return network_delegate_.get(); 219 return network_delegate_.get();
212 } 220 }
213 221
214 net::DnsCertProvenanceChecker* dns_cert_checker() const { 222 net::DnsCertProvenanceChecker* dns_cert_checker() const {
215 return dns_cert_checker_.get(); 223 return dns_cert_checker_.get();
216 } 224 }
217 225
218 net::ProxyService* proxy_service() const { 226 net::ProxyService* proxy_service() const {
219 return proxy_service_.get(); 227 return proxy_service_.get();
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 mutable scoped_ptr<ProfileParams> profile_params_; 281 mutable scoped_ptr<ProfileParams> profile_params_;
274 282
275 // Member variables which are pointed to by the various context objects. 283 // Member variables which are pointed to by the various context objects.
276 mutable BooleanPrefMember enable_referrers_; 284 mutable BooleanPrefMember enable_referrers_;
277 mutable BooleanPrefMember clear_local_state_on_exit_; 285 mutable BooleanPrefMember clear_local_state_on_exit_;
278 mutable BooleanPrefMember safe_browsing_enabled_; 286 mutable BooleanPrefMember safe_browsing_enabled_;
279 287
280 // Pointed to by URLRequestContext. 288 // Pointed to by URLRequestContext.
281 mutable scoped_ptr<ChromeURLDataManagerBackend> 289 mutable scoped_ptr<ChromeURLDataManagerBackend>
282 chrome_url_data_manager_backend_; 290 chrome_url_data_manager_backend_;
291 mutable scoped_ptr<net::OriginBoundCertService> origin_bound_cert_service_;
283 mutable scoped_ptr<net::NetworkDelegate> network_delegate_; 292 mutable scoped_ptr<net::NetworkDelegate> network_delegate_;
284 mutable scoped_ptr<net::DnsCertProvenanceChecker> dns_cert_checker_; 293 mutable scoped_ptr<net::DnsCertProvenanceChecker> dns_cert_checker_;
285 mutable scoped_ptr<net::ProxyService> proxy_service_; 294 mutable scoped_ptr<net::ProxyService> proxy_service_;
286 mutable scoped_ptr<net::URLRequestJobFactory> job_factory_; 295 mutable scoped_ptr<net::URLRequestJobFactory> job_factory_;
287 296
288 // Pointed to by ResourceContext. 297 // Pointed to by ResourceContext.
289 mutable scoped_refptr<webkit_database::DatabaseTracker> database_tracker_; 298 mutable scoped_refptr<webkit_database::DatabaseTracker> database_tracker_;
290 mutable scoped_refptr<ChromeAppCacheService> appcache_service_; 299 mutable scoped_refptr<ChromeAppCacheService> appcache_service_;
291 mutable scoped_refptr<ChromeBlobStorageContext> blob_storage_context_; 300 mutable scoped_refptr<ChromeBlobStorageContext> blob_storage_context_;
292 mutable scoped_refptr<fileapi::FileSystemContext> file_system_context_; 301 mutable scoped_refptr<fileapi::FileSystemContext> file_system_context_;
(...skipping 19 matching lines...) Expand all
312 // Weak pointers to the request contexts. Only valid after LazyInitialize. 321 // Weak pointers to the request contexts. Only valid after LazyInitialize.
313 // These are weak so that they don't hold a reference to the RequestContext, 322 // These are weak so that they don't hold a reference to the RequestContext,
314 // because that holds a reference back to ProfileIOData. 323 // because that holds a reference back to ProfileIOData.
315 mutable base::WeakPtr<ChromeURLRequestContext> 324 mutable base::WeakPtr<ChromeURLRequestContext>
316 weak_extensions_request_context_; 325 weak_extensions_request_context_;
317 326
318 DISALLOW_COPY_AND_ASSIGN(ProfileIOData); 327 DISALLOW_COPY_AND_ASSIGN(ProfileIOData);
319 }; 328 };
320 329
321 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ 330 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_impl_io_data.cc ('k') | chrome/browser/profiles/profile_io_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698