| OLD | NEW |
| 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_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/callback.h" | 10 #include "base/callback.h" |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 AcquireIsolatedAppRequestContext( | 134 AcquireIsolatedAppRequestContext( |
| 135 scoped_refptr<ChromeURLRequestContext> main_context, | 135 scoped_refptr<ChromeURLRequestContext> main_context, |
| 136 const std::string& app_id) const OVERRIDE; | 136 const std::string& app_id) const OVERRIDE; |
| 137 | 137 |
| 138 // Clears the networking history since |time|. | 138 // Clears the networking history since |time|. |
| 139 void ClearNetworkingHistorySinceOnIOThread(base::Time time); | 139 void ClearNetworkingHistorySinceOnIOThread(base::Time time); |
| 140 | 140 |
| 141 // Lazy initialization params. | 141 // Lazy initialization params. |
| 142 mutable scoped_ptr<LazyParams> lazy_params_; | 142 mutable scoped_ptr<LazyParams> lazy_params_; |
| 143 | 143 |
| 144 mutable scoped_refptr<ChromeURLRequestContext> media_request_context_; | |
| 145 | |
| 146 mutable scoped_ptr<net::HttpTransactionFactory> main_http_factory_; | 144 mutable scoped_ptr<net::HttpTransactionFactory> main_http_factory_; |
| 147 mutable scoped_ptr<net::HttpTransactionFactory> media_http_factory_; | 145 mutable scoped_ptr<net::HttpTransactionFactory> media_http_factory_; |
| 148 mutable scoped_ptr<net::FtpTransactionFactory> ftp_factory_; | 146 mutable scoped_ptr<net::FtpTransactionFactory> ftp_factory_; |
| 149 | 147 |
| 150 mutable scoped_ptr<chrome_browser_net::Predictor> predictor_; | 148 mutable scoped_ptr<chrome_browser_net::Predictor> predictor_; |
| 151 | 149 |
| 150 mutable scoped_refptr<ChromeURLRequestContext> media_request_context_; |
| 151 |
| 152 // Parameters needed for isolated apps. | 152 // Parameters needed for isolated apps. |
| 153 FilePath app_path_; | 153 FilePath app_path_; |
| 154 mutable bool clear_local_state_on_exit_; | 154 mutable bool clear_local_state_on_exit_; |
| 155 | 155 |
| 156 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); | 156 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); |
| 157 }; | 157 }; |
| 158 | 158 |
| 159 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ | 159 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ |
| OLD | NEW |