| 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 // 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 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 void EnsureSessionServiceCreated(); | 177 void EnsureSessionServiceCreated(); |
| 178 | 178 |
| 179 ExtensionPrefValueMap* GetExtensionPrefValueMap(); | 179 ExtensionPrefValueMap* GetExtensionPrefValueMap(); |
| 180 | 180 |
| 181 void CreateQuotaManagerAndClients(); | 181 void CreateQuotaManagerAndClients(); |
| 182 | 182 |
| 183 SpellCheckProfile* GetSpellCheckProfile(); | 183 SpellCheckProfile* GetSpellCheckProfile(); |
| 184 | 184 |
| 185 void UpdateProfileUserNameCache(); | 185 void UpdateProfileUserNameCache(); |
| 186 | 186 |
| 187 void GetCacheParameters(bool is_media_context, |
| 188 FilePath* cache_path, |
| 189 int* max_size); |
| 190 |
| 187 content::NotificationRegistrar registrar_; | 191 content::NotificationRegistrar registrar_; |
| 188 PrefChangeRegistrar pref_change_registrar_; | 192 PrefChangeRegistrar pref_change_registrar_; |
| 189 | 193 |
| 190 FilePath path_; | 194 FilePath path_; |
| 191 FilePath base_cache_path_; | 195 FilePath base_cache_path_; |
| 192 scoped_ptr<ExtensionPrefValueMap> extension_pref_value_map_; | 196 scoped_ptr<ExtensionPrefValueMap> extension_pref_value_map_; |
| 193 // Keep |prefs_| on top for destruction order because |extension_prefs_|, | 197 // Keep |prefs_| on top for destruction order because |extension_prefs_|, |
| 194 // |net_pref_observer_|, |web_resource_service_|, and |io_data_| store | 198 // |net_pref_observer_|, |web_resource_service_|, and |io_data_| store |
| 195 // pointers to |prefs_| and shall be destructed first. | 199 // pointers to |prefs_| and shall be destructed first. |
| 196 scoped_ptr<PrefService> prefs_; | 200 scoped_ptr<PrefService> prefs_; |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 291 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; | 295 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; |
| 292 | 296 |
| 293 Profile::Delegate* delegate_; | 297 Profile::Delegate* delegate_; |
| 294 | 298 |
| 295 chrome_browser_net::Predictor* predictor_; | 299 chrome_browser_net::Predictor* predictor_; |
| 296 | 300 |
| 297 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 301 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
| 298 }; | 302 }; |
| 299 | 303 |
| 300 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 304 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
| OLD | NEW |