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