| 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_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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <set> | 9 #include <set> |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 }; | 114 }; |
| 115 | 115 |
| 116 // Created on the UI thread, read on the IO thread during ProfileIOData lazy | 116 // Created on the UI thread, read on the IO thread during ProfileIOData lazy |
| 117 // initialization. | 117 // initialization. |
| 118 struct ProfileParams { | 118 struct ProfileParams { |
| 119 ProfileParams(); | 119 ProfileParams(); |
| 120 ~ProfileParams(); | 120 ~ProfileParams(); |
| 121 | 121 |
| 122 bool is_incognito; | 122 bool is_incognito; |
| 123 bool clear_local_state_on_exit; | 123 bool clear_local_state_on_exit; |
| 124 bool safe_browsing_enabled; |
| 124 std::string accept_language; | 125 std::string accept_language; |
| 125 std::string accept_charset; | 126 std::string accept_charset; |
| 126 std::string referrer_charset; | 127 std::string referrer_charset; |
| 127 IOThread* io_thread; | 128 IOThread* io_thread; |
| 128 scoped_refptr<HostContentSettingsMap> host_content_settings_map; | 129 scoped_refptr<HostContentSettingsMap> host_content_settings_map; |
| 129 scoped_refptr<HostZoomMap> host_zoom_map; | 130 scoped_refptr<HostZoomMap> host_zoom_map; |
| 130 scoped_refptr<net::TransportSecurityState> transport_security_state; | 131 scoped_refptr<net::TransportSecurityState> transport_security_state; |
| 131 scoped_refptr<net::SSLConfigService> ssl_config_service; | 132 scoped_refptr<net::SSLConfigService> ssl_config_service; |
| 132 scoped_refptr<net::CookieMonster::Delegate> cookie_monster_delegate; | 133 scoped_refptr<net::CookieMonster::Delegate> cookie_monster_delegate; |
| 133 scoped_refptr<webkit_database::DatabaseTracker> database_tracker; | 134 scoped_refptr<webkit_database::DatabaseTracker> database_tracker; |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 265 | 266 |
| 266 // These are only valid in between LazyInitialize() and their accessor being | 267 // These are only valid in between LazyInitialize() and their accessor being |
| 267 // called. | 268 // called. |
| 268 mutable scoped_refptr<RequestContext> main_request_context_; | 269 mutable scoped_refptr<RequestContext> main_request_context_; |
| 269 mutable scoped_refptr<RequestContext> extensions_request_context_; | 270 mutable scoped_refptr<RequestContext> extensions_request_context_; |
| 270 | 271 |
| 271 DISALLOW_COPY_AND_ASSIGN(ProfileIOData); | 272 DISALLOW_COPY_AND_ASSIGN(ProfileIOData); |
| 272 }; | 273 }; |
| 273 | 274 |
| 274 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ | 275 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ |
| OLD | NEW |