| 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/hash_tables.h" | 10 #include "base/hash_tables.h" |
| 11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
| 12 #include "chrome/browser/profiles/profile_io_data.h" | 12 #include "chrome/browser/profiles/profile_io_data.h" |
| 13 | 13 |
| 14 namespace net { | 14 namespace net { |
| 15 class CookiePolicy; |
| 15 class NetworkDelegate; | 16 class NetworkDelegate; |
| 16 class DnsCertProvenanceChecker; | 17 class DnsCertProvenanceChecker; |
| 17 class HttpTransactionFactory; | 18 class HttpTransactionFactory; |
| 18 } // namespace net | 19 } // namespace net |
| 19 | 20 |
| 20 class ProfileImplIOData : public ProfileIOData { | 21 class ProfileImplIOData : public ProfileIOData { |
| 21 public: | 22 public: |
| 22 class Handle { | 23 class Handle { |
| 23 public: | 24 public: |
| 24 explicit Handle(Profile* profile); | 25 explicit Handle(Profile* profile); |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 | 126 |
| 126 // Lazy initialization params. | 127 // Lazy initialization params. |
| 127 mutable scoped_ptr<LazyParams> lazy_params_; | 128 mutable scoped_ptr<LazyParams> lazy_params_; |
| 128 | 129 |
| 129 mutable scoped_refptr<RequestContext> main_request_context_; | 130 mutable scoped_refptr<RequestContext> main_request_context_; |
| 130 mutable scoped_refptr<RequestContext> media_request_context_; | 131 mutable scoped_refptr<RequestContext> media_request_context_; |
| 131 mutable scoped_refptr<RequestContext> extensions_request_context_; | 132 mutable scoped_refptr<RequestContext> extensions_request_context_; |
| 132 | 133 |
| 133 mutable scoped_ptr<net::NetworkDelegate> network_delegate_; | 134 mutable scoped_ptr<net::NetworkDelegate> network_delegate_; |
| 134 mutable scoped_ptr<net::DnsCertProvenanceChecker> dns_cert_checker_; | 135 mutable scoped_ptr<net::DnsCertProvenanceChecker> dns_cert_checker_; |
| 136 mutable scoped_ptr<net::CookiePolicy> cookie_policy_; |
| 135 mutable scoped_ptr<net::HttpTransactionFactory> main_http_factory_; | 137 mutable scoped_ptr<net::HttpTransactionFactory> main_http_factory_; |
| 136 mutable scoped_ptr<net::HttpTransactionFactory> media_http_factory_; | 138 mutable scoped_ptr<net::HttpTransactionFactory> media_http_factory_; |
| 137 | 139 |
| 138 // One HttpTransactionFactory per isolated app. | 140 // One HttpTransactionFactory per isolated app. |
| 139 mutable HttpTransactionFactoryMap app_http_factory_map_; | 141 mutable HttpTransactionFactoryMap app_http_factory_map_; |
| 140 | 142 |
| 141 // Parameters needed for isolated apps. | 143 // Parameters needed for isolated apps. |
| 142 FilePath app_path_; | 144 FilePath app_path_; |
| 143 bool clear_local_state_on_exit_; | 145 bool clear_local_state_on_exit_; |
| 144 | 146 |
| 145 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); | 147 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); |
| 146 }; | 148 }; |
| 147 | 149 |
| 148 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ | 150 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ |
| OLD | NEW |