| 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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 | 160 |
| 161 void EnsureRequestContextCreated() { | 161 void EnsureRequestContextCreated() { |
| 162 GetRequestContext(); | 162 GetRequestContext(); |
| 163 } | 163 } |
| 164 | 164 |
| 165 void EnsureSessionServiceCreated() { | 165 void EnsureSessionServiceCreated() { |
| 166 GetSessionService(); | 166 GetSessionService(); |
| 167 } | 167 } |
| 168 | 168 |
| 169 void RegisterComponentExtensions(); | 169 void RegisterComponentExtensions(); |
| 170 void ExtractAccessibilityExtensionResources(const std::string dir_name, |
| 171 const FilePath extension_path); |
| 170 void InstallDefaultApps(); | 172 void InstallDefaultApps(); |
| 171 | 173 |
| 172 NotificationRegistrar registrar_; | 174 NotificationRegistrar registrar_; |
| 173 PrefChangeRegistrar pref_change_registrar_; | 175 PrefChangeRegistrar pref_change_registrar_; |
| 174 | 176 |
| 175 FilePath path_; | 177 FilePath path_; |
| 176 FilePath base_cache_path_; | 178 FilePath base_cache_path_; |
| 177 // Keep prefs_ on top for destruction order because extension_prefs_, | 179 // Keep prefs_ on top for destruction order because extension_prefs_, |
| 178 // net_pref_observer_, web_resource_service_ and background_contents_service_ | 180 // net_pref_observer_, web_resource_service_ and background_contents_service_ |
| 179 // store pointers to prefs_ and shall be destructed first. | 181 // store pointers to prefs_ and shall be destructed first. |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 299 #endif | 301 #endif |
| 300 | 302 |
| 301 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; | 303 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; |
| 302 | 304 |
| 303 scoped_refptr<PrerenderManager> prerender_manager_; | 305 scoped_refptr<PrerenderManager> prerender_manager_; |
| 304 | 306 |
| 305 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 307 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
| 306 }; | 308 }; |
| 307 | 309 |
| 308 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 310 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
| OLD | NEW |