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_PROFILE_IMPL_H_ | 7 #ifndef CHROME_BROWSER_PROFILE_IMPL_H_ |
8 #define CHROME_BROWSER_PROFILE_IMPL_H_ | 8 #define CHROME_BROWSER_PROFILE_IMPL_H_ |
9 #pragma once | 9 #pragma once |
10 | 10 |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 void StopCreateSessionServiceTimer(); | 144 void StopCreateSessionServiceTimer(); |
145 | 145 |
146 void EnsureRequestContextCreated() { | 146 void EnsureRequestContextCreated() { |
147 GetRequestContext(); | 147 GetRequestContext(); |
148 } | 148 } |
149 | 149 |
150 void EnsureSessionServiceCreated() { | 150 void EnsureSessionServiceCreated() { |
151 GetSessionService(); | 151 GetSessionService(); |
152 } | 152 } |
153 | 153 |
| 154 void RegisterComponentExtensions(); |
| 155 void InstallDefaultApps(); |
| 156 |
154 NotificationRegistrar registrar_; | 157 NotificationRegistrar registrar_; |
155 PrefChangeRegistrar pref_change_registrar_; | 158 PrefChangeRegistrar pref_change_registrar_; |
156 | 159 |
157 FilePath path_; | 160 FilePath path_; |
158 FilePath base_cache_path_; | 161 FilePath base_cache_path_; |
159 scoped_ptr<VisitedLinkEventListener> visited_link_event_listener_; | 162 scoped_ptr<VisitedLinkEventListener> visited_link_event_listener_; |
160 scoped_ptr<VisitedLinkMaster> visited_link_master_; | 163 scoped_ptr<VisitedLinkMaster> visited_link_master_; |
161 scoped_refptr<ExtensionsService> extensions_service_; | 164 scoped_refptr<ExtensionsService> extensions_service_; |
162 scoped_refptr<UserScriptMaster> user_script_master_; | 165 scoped_refptr<UserScriptMaster> user_script_master_; |
163 scoped_refptr<ExtensionDevToolsManager> extension_devtools_manager_; | 166 scoped_refptr<ExtensionDevToolsManager> extension_devtools_manager_; |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
259 scoped_ptr<chromeos::Preferences> chromeos_preferences_; | 262 scoped_ptr<chromeos::Preferences> chromeos_preferences_; |
260 | 263 |
261 scoped_refptr<chromeos::ProxyConfigServiceImpl> | 264 scoped_refptr<chromeos::ProxyConfigServiceImpl> |
262 chromeos_proxy_config_service_impl_; | 265 chromeos_proxy_config_service_impl_; |
263 #endif | 266 #endif |
264 | 267 |
265 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 268 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
266 }; | 269 }; |
267 | 270 |
268 #endif // CHROME_BROWSER_PROFILE_IMPL_H_ | 271 #endif // CHROME_BROWSER_PROFILE_IMPL_H_ |
OLD | NEW |