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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 void RegisterComponentExtensions(); | 172 void RegisterComponentExtensions(); |
173 | 173 |
174 void InstallDefaultApps(); | 174 void InstallDefaultApps(); |
175 | 175 |
176 ExtensionPrefValueMap* GetExtensionPrefValueMap(); | 176 ExtensionPrefValueMap* GetExtensionPrefValueMap(); |
177 | 177 |
178 void CreateQuotaManagerAndClients(); | 178 void CreateQuotaManagerAndClients(); |
179 | 179 |
180 SpellCheckProfile* GetSpellCheckProfile(); | 180 SpellCheckProfile* GetSpellCheckProfile(); |
181 | 181 |
| 182 virtual void SetDownloadManagerDelegate( |
| 183 ChromeDownloadManagerDelegate* delegate); |
| 184 |
182 NotificationRegistrar registrar_; | 185 NotificationRegistrar registrar_; |
183 PrefChangeRegistrar pref_change_registrar_; | 186 PrefChangeRegistrar pref_change_registrar_; |
184 | 187 |
185 FilePath path_; | 188 FilePath path_; |
186 FilePath base_cache_path_; | 189 FilePath base_cache_path_; |
187 scoped_ptr<ExtensionPrefValueMap> extension_pref_value_map_; | 190 scoped_ptr<ExtensionPrefValueMap> extension_pref_value_map_; |
188 // Keep |prefs_| on top for destruction order because |extension_prefs_|, | 191 // Keep |prefs_| on top for destruction order because |extension_prefs_|, |
189 // |net_pref_observer_|, |web_resource_service_|, and |io_data_| store | 192 // |net_pref_observer_|, |web_resource_service_|, and |io_data_| store |
190 // pointers to |prefs_| and shall be destructed first. | 193 // pointers to |prefs_| and shall be destructed first. |
191 scoped_ptr<PrefService> prefs_; | 194 scoped_ptr<PrefService> prefs_; |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
294 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; | 297 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; |
295 | 298 |
296 Profile::Delegate* delegate_; | 299 Profile::Delegate* delegate_; |
297 | 300 |
298 chrome_browser_net::Predictor* predictor_; | 301 chrome_browser_net::Predictor* predictor_; |
299 | 302 |
300 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 303 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
301 }; | 304 }; |
302 | 305 |
303 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 306 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
OLD | NEW |