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

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

Issue 11293252: Change Interceptors into URLRequestJobFactory::ProtocolHandlers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync 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 | « chrome/browser/profiles/profile_impl_io_data.cc ('k') | chrome/chrome_browser.gypi » ('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_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 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/callback_forward.h" 11 #include "base/callback_forward.h"
12 #include "base/file_path.h" 12 #include "base/file_path.h"
13 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
14 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
15 #include "base/memory/weak_ptr.h" 15 #include "base/memory/weak_ptr.h"
16 #include "base/prefs/public/pref_member.h" 16 #include "base/prefs/public/pref_member.h"
17 #include "base/synchronization/lock.h" 17 #include "base/synchronization/lock.h"
18 #include "chrome/browser/io_thread.h" 18 #include "chrome/browser/io_thread.h"
19 #include "chrome/browser/net/chrome_url_request_context.h" 19 #include "chrome/browser/net/chrome_url_request_context.h"
20 #include "chrome/browser/profiles/storage_partition_descriptor.h" 20 #include "chrome/browser/profiles/storage_partition_descriptor.h"
21 #include "content/public/browser/resource_context.h" 21 #include "content/public/browser/resource_context.h"
22 #include "net/cookies/cookie_monster.h" 22 #include "net/cookies/cookie_monster.h"
23 #include "net/http/http_network_session.h" 23 #include "net/http/http_network_session.h"
24 #include "net/url_request/url_request_job_factory.h" 24 #include "net/url_request/url_request_job_factory.h"
25 25
26 class ChromeHttpUserAgentSettings; 26 class ChromeHttpUserAgentSettings;
27 class ChromeNetworkDelegate;
27 class CookieSettings; 28 class CookieSettings;
28 class DesktopNotificationService; 29 class DesktopNotificationService;
29 class ExtensionInfoMap; 30 class ExtensionInfoMap;
30 class HostContentSettingsMap; 31 class HostContentSettingsMap;
31 class Profile; 32 class Profile;
32 class ProtocolHandlerRegistry; 33 class ProtocolHandlerRegistry;
33 class SigninNamesOnIOThread; 34 class SigninNamesOnIOThread;
34 class TransportSecurityPersister; 35 class TransportSecurityPersister;
35 36
36 namespace chrome_browser_net { 37 namespace chrome_browser_net {
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 return chrome_url_data_manager_backend_.get(); 263 return chrome_url_data_manager_backend_.get();
263 } 264 }
264 265
265 // A ServerBoundCertService object is created by a derived class of 266 // A ServerBoundCertService object is created by a derived class of
266 // ProfileIOData, and the derived class calls this method to set the 267 // ProfileIOData, and the derived class calls this method to set the
267 // server_bound_cert_service_ member and transfers ownership to the base 268 // server_bound_cert_service_ member and transfers ownership to the base
268 // class. 269 // class.
269 void set_server_bound_cert_service( 270 void set_server_bound_cert_service(
270 net::ServerBoundCertService* server_bound_cert_service) const; 271 net::ServerBoundCertService* server_bound_cert_service) const;
271 272
272 net::NetworkDelegate* network_delegate() const { 273 ChromeNetworkDelegate* network_delegate() const {
273 return network_delegate_.get(); 274 return network_delegate_.get();
274 } 275 }
275 276
276 net::FraudulentCertificateReporter* fraudulent_certificate_reporter() const { 277 net::FraudulentCertificateReporter* fraudulent_certificate_reporter() const {
277 return fraudulent_certificate_reporter_.get(); 278 return fraudulent_certificate_reporter_.get();
278 } 279 }
279 280
280 net::ProxyService* proxy_service() const { 281 net::ProxyService* proxy_service() const {
281 return proxy_service_.get(); 282 return proxy_service_.get();
282 } 283 }
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
426 #endif 427 #endif
427 428
428 // Pointed to by NetworkDelegate. 429 // Pointed to by NetworkDelegate.
429 mutable scoped_ptr<policy::URLBlacklistManager> url_blacklist_manager_; 430 mutable scoped_ptr<policy::URLBlacklistManager> url_blacklist_manager_;
430 431
431 // Pointed to by URLRequestContext. 432 // Pointed to by URLRequestContext.
432 mutable scoped_refptr<ExtensionInfoMap> extension_info_map_; 433 mutable scoped_refptr<ExtensionInfoMap> extension_info_map_;
433 mutable scoped_ptr<ChromeURLDataManagerBackend> 434 mutable scoped_ptr<ChromeURLDataManagerBackend>
434 chrome_url_data_manager_backend_; 435 chrome_url_data_manager_backend_;
435 mutable scoped_ptr<net::ServerBoundCertService> server_bound_cert_service_; 436 mutable scoped_ptr<net::ServerBoundCertService> server_bound_cert_service_;
436 mutable scoped_ptr<net::NetworkDelegate> network_delegate_; 437 mutable scoped_ptr<ChromeNetworkDelegate> network_delegate_;
437 mutable scoped_ptr<net::FraudulentCertificateReporter> 438 mutable scoped_ptr<net::FraudulentCertificateReporter>
438 fraudulent_certificate_reporter_; 439 fraudulent_certificate_reporter_;
439 mutable scoped_ptr<net::ProxyService> proxy_service_; 440 mutable scoped_ptr<net::ProxyService> proxy_service_;
440 mutable scoped_ptr<net::TransportSecurityState> transport_security_state_; 441 mutable scoped_ptr<net::TransportSecurityState> transport_security_state_;
441 mutable scoped_ptr<net::HttpServerProperties> 442 mutable scoped_ptr<net::HttpServerProperties>
442 http_server_properties_; 443 http_server_properties_;
443 444
444 #if defined(ENABLE_NOTIFICATIONS) 445 #if defined(ENABLE_NOTIFICATIONS)
445 mutable DesktopNotificationService* notification_service_; 446 mutable DesktopNotificationService* notification_service_;
446 #endif 447 #endif
(...skipping 23 matching lines...) Expand all
470 471
471 // TODO(jhawkins): Remove once crbug.com/102004 is fixed. 472 // TODO(jhawkins): Remove once crbug.com/102004 is fixed.
472 bool initialized_on_UI_thread_; 473 bool initialized_on_UI_thread_;
473 474
474 bool is_incognito_; 475 bool is_incognito_;
475 476
476 DISALLOW_COPY_AND_ASSIGN(ProfileIOData); 477 DISALLOW_COPY_AND_ASSIGN(ProfileIOData);
477 }; 478 };
478 479
479 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ 480 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_impl_io_data.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698