| 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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 | 167 |
| 168 void EnsureRequestContextCreated() { | 168 void EnsureRequestContextCreated() { |
| 169 GetRequestContext(); | 169 GetRequestContext(); |
| 170 } | 170 } |
| 171 | 171 |
| 172 void EnsureSessionServiceCreated() { | 172 void EnsureSessionServiceCreated() { |
| 173 GetSessionService(); | 173 GetSessionService(); |
| 174 } | 174 } |
| 175 | 175 |
| 176 void RegisterComponentExtensions(); | 176 void RegisterComponentExtensions(); |
| 177 void InstallDefaultApps(); | |
| 178 | 177 |
| 179 ExtensionPrefValueMap* GetExtensionPrefValueMap(); | 178 ExtensionPrefValueMap* GetExtensionPrefValueMap(); |
| 180 | 179 |
| 181 NotificationRegistrar registrar_; | 180 NotificationRegistrar registrar_; |
| 182 PrefChangeRegistrar pref_change_registrar_; | 181 PrefChangeRegistrar pref_change_registrar_; |
| 183 | 182 |
| 184 FilePath path_; | 183 FilePath path_; |
| 185 FilePath base_cache_path_; | 184 FilePath base_cache_path_; |
| 186 scoped_ptr<ExtensionPrefValueMap> extension_pref_value_map_; | 185 scoped_ptr<ExtensionPrefValueMap> extension_pref_value_map_; |
| 187 // Keep prefs_ on top for destruction order because extension_prefs_, | 186 // Keep prefs_ on top for destruction order because extension_prefs_, |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 307 #endif | 306 #endif |
| 308 | 307 |
| 309 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; | 308 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; |
| 310 | 309 |
| 311 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; | 310 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; |
| 312 | 311 |
| 313 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 312 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
| 314 }; | 313 }; |
| 315 | 314 |
| 316 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 315 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
| OLD | NEW |