| 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 // This class gathers state related to a single user profile. | 5 // This class gathers state related to a single user profile. |
| 6 | 6 |
| 7 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 7 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
| 8 #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 8 #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
| 9 #pragma once | 9 #pragma once |
| 10 | 10 |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 | 142 |
| 143 ProfileImpl(const FilePath& path, | 143 ProfileImpl(const FilePath& path, |
| 144 Delegate* delegate, | 144 Delegate* delegate, |
| 145 CreateMode create_mode); | 145 CreateMode create_mode); |
| 146 | 146 |
| 147 // Does final initialization. Should be called after prefs were loaded. | 147 // Does final initialization. Should be called after prefs were loaded. |
| 148 void DoFinalInit(bool is_new_profile); | 148 void DoFinalInit(bool is_new_profile); |
| 149 | 149 |
| 150 void InitHostZoomMap(); | 150 void InitHostZoomMap(); |
| 151 | 151 |
| 152 // The installation of any pre-defined protocol handlers. | |
| 153 void InstallDefaultProtocolHandlers(); | |
| 154 | |
| 155 // Does final prefs initialization and calls Init(). | 152 // Does final prefs initialization and calls Init(). |
| 156 void OnPrefsLoaded(bool success); | 153 void OnPrefsLoaded(bool success); |
| 157 | 154 |
| 158 FilePath GetPrefFilePath(); | 155 FilePath GetPrefFilePath(); |
| 159 | 156 |
| 160 #if defined(ENABLE_SESSION_SERVICE) | 157 #if defined(ENABLE_SESSION_SERVICE) |
| 161 void StopCreateSessionServiceTimer(); | 158 void StopCreateSessionServiceTimer(); |
| 162 | 159 |
| 163 void EnsureSessionServiceCreated(); | 160 void EnsureSessionServiceCreated(); |
| 164 #endif | 161 #endif |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 207 scoped_ptr<VisitedLinkMaster> visited_link_master_; | 204 scoped_ptr<VisitedLinkMaster> visited_link_master_; |
| 208 ProfileImplIOData::Handle io_data_; | 205 ProfileImplIOData::Handle io_data_; |
| 209 scoped_refptr<ExtensionSpecialStoragePolicy> | 206 scoped_refptr<ExtensionSpecialStoragePolicy> |
| 210 extension_special_storage_policy_; | 207 extension_special_storage_policy_; |
| 211 scoped_ptr<NetPrefObserver> net_pref_observer_; | 208 scoped_ptr<NetPrefObserver> net_pref_observer_; |
| 212 scoped_ptr<BookmarkModel> bookmark_bar_model_; | 209 scoped_ptr<BookmarkModel> bookmark_bar_model_; |
| 213 | 210 |
| 214 #if defined(ENABLE_PROMO_RESOURCE_SERVICE) | 211 #if defined(ENABLE_PROMO_RESOURCE_SERVICE) |
| 215 scoped_refptr<PromoResourceService> promo_resource_service_; | 212 scoped_refptr<PromoResourceService> promo_resource_service_; |
| 216 #endif | 213 #endif |
| 217 | |
| 218 scoped_refptr<ProtocolHandlerRegistry> protocol_handler_registry_; | |
| 219 | |
| 220 scoped_ptr<SSLConfigServiceManager> ssl_config_service_manager_; | 214 scoped_ptr<SSLConfigServiceManager> ssl_config_service_manager_; |
| 221 | 215 |
| 222 scoped_refptr<HostContentSettingsMap> host_content_settings_map_; | 216 scoped_refptr<HostContentSettingsMap> host_content_settings_map_; |
| 223 scoped_refptr<content::GeolocationPermissionContext> | 217 scoped_refptr<content::GeolocationPermissionContext> |
| 224 geolocation_permission_context_; | 218 geolocation_permission_context_; |
| 225 scoped_ptr<GAIAInfoUpdateService> gaia_info_update_service_; | 219 scoped_ptr<GAIAInfoUpdateService> gaia_info_update_service_; |
| 226 scoped_refptr<HistoryService> history_service_; | 220 scoped_refptr<HistoryService> history_service_; |
| 227 scoped_ptr<FaviconService> favicon_service_; | 221 scoped_ptr<FaviconService> favicon_service_; |
| 228 scoped_ptr<AutocompleteClassifier> autocomplete_classifier_; | 222 scoped_ptr<AutocompleteClassifier> autocomplete_classifier_; |
| 229 scoped_refptr<history::ShortcutsBackend> shortcuts_backend_; | 223 scoped_refptr<history::ShortcutsBackend> shortcuts_backend_; |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 272 Profile::Delegate* delegate_; | 266 Profile::Delegate* delegate_; |
| 273 | 267 |
| 274 chrome_browser_net::Predictor* predictor_; | 268 chrome_browser_net::Predictor* predictor_; |
| 275 | 269 |
| 276 bool session_restore_enabled_; | 270 bool session_restore_enabled_; |
| 277 | 271 |
| 278 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 272 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
| 279 }; | 273 }; |
| 280 | 274 |
| 281 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 275 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
| OLD | NEW |