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_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 <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
280 // initialization. | 280 // initialization. |
281 struct ProfileParams { | 281 struct ProfileParams { |
282 ProfileParams(); | 282 ProfileParams(); |
283 ~ProfileParams(); | 283 ~ProfileParams(); |
284 | 284 |
285 base::FilePath path; | 285 base::FilePath path; |
286 IOThread* io_thread; | 286 IOThread* io_thread; |
287 scoped_refptr<content_settings::CookieSettings> cookie_settings; | 287 scoped_refptr<content_settings::CookieSettings> cookie_settings; |
288 scoped_refptr<HostContentSettingsMap> host_content_settings_map; | 288 scoped_refptr<HostContentSettingsMap> host_content_settings_map; |
289 scoped_refptr<net::SSLConfigService> ssl_config_service; | 289 scoped_refptr<net::SSLConfigService> ssl_config_service; |
290 scoped_refptr<net::CookieMonster::Delegate> cookie_monster_delegate; | 290 scoped_refptr<net::CookieMonsterDelegate> cookie_monster_delegate; |
291 #if defined(ENABLE_EXTENSIONS) | 291 #if defined(ENABLE_EXTENSIONS) |
292 scoped_refptr<extensions::InfoMap> extension_info_map; | 292 scoped_refptr<extensions::InfoMap> extension_info_map; |
293 #endif | 293 #endif |
294 scoped_ptr<chrome_browser_net::ResourcePrefetchPredictorObserver> | 294 scoped_ptr<chrome_browser_net::ResourcePrefetchPredictorObserver> |
295 resource_prefetch_predictor_observer_; | 295 resource_prefetch_predictor_observer_; |
296 | 296 |
297 // This pointer exists only as a means of conveying a url job factory | 297 // This pointer exists only as a means of conveying a url job factory |
298 // pointer from the protocol handler registry on the UI thread to the | 298 // pointer from the protocol handler registry on the UI thread to the |
299 // the URLRequestContext on the IO thread. The consumer MUST take | 299 // the URLRequestContext on the IO thread. The consumer MUST take |
300 // ownership of the object by calling release() on this pointer. | 300 // ownership of the object by calling release() on this pointer. |
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
597 | 597 |
598 // TODO(jhawkins): Remove once crbug.com/102004 is fixed. | 598 // TODO(jhawkins): Remove once crbug.com/102004 is fixed. |
599 bool initialized_on_UI_thread_; | 599 bool initialized_on_UI_thread_; |
600 | 600 |
601 const Profile::ProfileType profile_type_; | 601 const Profile::ProfileType profile_type_; |
602 | 602 |
603 DISALLOW_COPY_AND_ASSIGN(ProfileIOData); | 603 DISALLOW_COPY_AND_ASSIGN(ProfileIOData); |
604 }; | 604 }; |
605 | 605 |
606 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ | 606 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ |
OLD | NEW |