OLD | NEW |
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_IMPL_IO_DATA_H_ | 5 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ |
6 #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ | 6 #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/ref_counted.h" | 10 #include "base/ref_counted.h" |
11 #include "chrome/browser/profiles/profile_io_data.h" | 11 #include "chrome/browser/profiles/profile_io_data.h" |
12 | 12 |
13 class ExtensionIOEventRouter; | |
14 namespace net { | 13 namespace net { |
15 class NetworkDelegate; | 14 class NetworkDelegate; |
16 class DnsCertProvenanceChecker; | 15 class DnsCertProvenanceChecker; |
17 class HttpTransactionFactory; | 16 class HttpTransactionFactory; |
18 } // namespace net | 17 } // namespace net |
19 | 18 |
20 class ProfileImplIOData : public ProfileIOData { | 19 class ProfileImplIOData : public ProfileIOData { |
21 public: | 20 public: |
22 class Handle { | 21 class Handle { |
23 public: | 22 public: |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 virtual scoped_refptr<ChromeURLRequestContext> | 103 virtual scoped_refptr<ChromeURLRequestContext> |
105 AcquireExtensionsRequestContext() const; | 104 AcquireExtensionsRequestContext() const; |
106 | 105 |
107 // Lazy initialization params. | 106 // Lazy initialization params. |
108 mutable scoped_ptr<LazyParams> lazy_params_; | 107 mutable scoped_ptr<LazyParams> lazy_params_; |
109 | 108 |
110 mutable scoped_refptr<RequestContext> main_request_context_; | 109 mutable scoped_refptr<RequestContext> main_request_context_; |
111 mutable scoped_refptr<RequestContext> media_request_context_; | 110 mutable scoped_refptr<RequestContext> media_request_context_; |
112 mutable scoped_refptr<RequestContext> extensions_request_context_; | 111 mutable scoped_refptr<RequestContext> extensions_request_context_; |
113 | 112 |
114 mutable scoped_refptr<ExtensionIOEventRouter> extension_io_event_router_; | |
115 mutable scoped_ptr<net::NetworkDelegate> network_delegate_; | 113 mutable scoped_ptr<net::NetworkDelegate> network_delegate_; |
116 mutable scoped_ptr<net::DnsCertProvenanceChecker> dns_cert_checker_; | 114 mutable scoped_ptr<net::DnsCertProvenanceChecker> dns_cert_checker_; |
117 mutable scoped_ptr<net::HttpTransactionFactory> main_http_factory_; | 115 mutable scoped_ptr<net::HttpTransactionFactory> main_http_factory_; |
118 mutable scoped_ptr<net::HttpTransactionFactory> media_http_factory_; | 116 mutable scoped_ptr<net::HttpTransactionFactory> media_http_factory_; |
119 | 117 |
120 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); | 118 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); |
121 }; | 119 }; |
122 | 120 |
123 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ | 121 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ |
OLD | NEW |