Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 168 | 168 |
| 169 NotificationRegistrar registrar_; | 169 NotificationRegistrar registrar_; |
| 170 PrefChangeRegistrar pref_change_registrar_; | 170 PrefChangeRegistrar pref_change_registrar_; |
| 171 | 171 |
| 172 FilePath path_; | 172 FilePath path_; |
| 173 FilePath base_cache_path_; | 173 FilePath base_cache_path_; |
| 174 // Keep prefs_ on top for destruction order because extension_prefs_, | 174 // Keep prefs_ on top for destruction order because extension_prefs_, |
| 175 // net_pref_observer_, web_resource_service_ and background_contents_service_ | 175 // net_pref_observer_, web_resource_service_ and background_contents_service_ |
| 176 // store pointers to prefs_ and shall be destructed first. | 176 // store pointers to prefs_ and shall be destructed first. |
| 177 scoped_ptr<PrefService> prefs_; | 177 scoped_ptr<PrefService> prefs_; |
| 178 scoped_ptr<PrefService> incognito_prefs_; | |
|
Mattias Nissler (ping if slow)
2010/12/20 14:50:02
Is this actually accessed? If not, can we postpone
battre
2010/12/21 18:51:59
Done.
| |
| 178 scoped_ptr<VisitedLinkEventListener> visited_link_event_listener_; | 179 scoped_ptr<VisitedLinkEventListener> visited_link_event_listener_; |
| 179 scoped_ptr<VisitedLinkMaster> visited_link_master_; | 180 scoped_ptr<VisitedLinkMaster> visited_link_master_; |
| 180 // Keep extension_prefs_ on top of extensions_service_ because the latter | 181 // Keep extension_prefs_ on top of extensions_service_ because the latter |
| 181 // maintains a pointer to the first and shall be destructed first. | 182 // maintains a pointer to the first and shall be destructed first. |
| 182 scoped_ptr<ExtensionPrefs> extension_prefs_; | 183 scoped_ptr<ExtensionPrefs> extension_prefs_; |
| 183 scoped_refptr<ExtensionService> extensions_service_; | 184 scoped_refptr<ExtensionService> extensions_service_; |
| 184 scoped_refptr<UserScriptMaster> user_script_master_; | 185 scoped_refptr<UserScriptMaster> user_script_master_; |
| 185 scoped_refptr<ExtensionDevToolsManager> extension_devtools_manager_; | 186 scoped_refptr<ExtensionDevToolsManager> extension_devtools_manager_; |
| 186 scoped_ptr<ExtensionProcessManager> extension_process_manager_; | 187 scoped_ptr<ExtensionProcessManager> extension_process_manager_; |
| 187 scoped_refptr<ExtensionMessageService> extension_message_service_; | 188 scoped_refptr<ExtensionMessageService> extension_message_service_; |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 296 #endif | 297 #endif |
| 297 | 298 |
| 298 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; | 299 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; |
| 299 | 300 |
| 300 scoped_ptr<PrerenderManager> prerender_manager_; | 301 scoped_ptr<PrerenderManager> prerender_manager_; |
| 301 | 302 |
| 302 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 303 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
| 303 }; | 304 }; |
| 304 | 305 |
| 305 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 306 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
| OLD | NEW |