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, FilePath* cache_path, | |
188 int* max_size); | |
Joao da Silva
2011/11/16 16:10:42
Nit: one arg per line
pastarmovj
2011/11/17 13:10:10
True I did ausschneiden+einfu"gen here without tak
| |
189 | |
187 content::NotificationRegistrar registrar_; | 190 content::NotificationRegistrar registrar_; |
188 PrefChangeRegistrar pref_change_registrar_; | 191 PrefChangeRegistrar pref_change_registrar_; |
189 | 192 |
190 FilePath path_; | 193 FilePath path_; |
191 FilePath base_cache_path_; | 194 FilePath base_cache_path_; |
192 scoped_ptr<ExtensionPrefValueMap> extension_pref_value_map_; | 195 scoped_ptr<ExtensionPrefValueMap> extension_pref_value_map_; |
193 // Keep |prefs_| on top for destruction order because |extension_prefs_|, | 196 // Keep |prefs_| on top for destruction order because |extension_prefs_|, |
194 // |net_pref_observer_|, |web_resource_service_|, and |io_data_| store | 197 // |net_pref_observer_|, |web_resource_service_|, and |io_data_| store |
195 // pointers to |prefs_| and shall be destructed first. | 198 // pointers to |prefs_| and shall be destructed first. |
196 scoped_ptr<PrefService> prefs_; | 199 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_; | 294 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; |
292 | 295 |
293 Profile::Delegate* delegate_; | 296 Profile::Delegate* delegate_; |
294 | 297 |
295 chrome_browser_net::Predictor* predictor_; | 298 chrome_browser_net::Predictor* predictor_; |
296 | 299 |
297 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 300 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
298 }; | 301 }; |
299 | 302 |
300 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 303 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
OLD | NEW |