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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 int renderer_child_id); | 86 int renderer_child_id); |
87 virtual net::URLRequestContextGetter* GetRequestContextForMedia(); | 87 virtual net::URLRequestContextGetter* GetRequestContextForMedia(); |
88 virtual net::URLRequestContextGetter* GetRequestContextForExtensions(); | 88 virtual net::URLRequestContextGetter* GetRequestContextForExtensions(); |
89 virtual net::URLRequestContextGetter* GetRequestContextForIsolatedApp( | 89 virtual net::URLRequestContextGetter* GetRequestContextForIsolatedApp( |
90 const std::string& app_id); | 90 const std::string& app_id); |
91 virtual const content::ResourceContext& GetResourceContext(); | 91 virtual const content::ResourceContext& GetResourceContext(); |
92 virtual void RegisterExtensionWithRequestContexts(const Extension* extension); | 92 virtual void RegisterExtensionWithRequestContexts(const Extension* extension); |
93 virtual void UnregisterExtensionWithRequestContexts( | 93 virtual void UnregisterExtensionWithRequestContexts( |
94 const std::string& extension_id, | 94 const std::string& extension_id, |
95 const extension_misc::UnloadedExtensionReason reason); | 95 const extension_misc::UnloadedExtensionReason reason); |
| 96 virtual net::SpdyConfigService* GetSpdyConfigService(); |
96 virtual net::SSLConfigService* GetSSLConfigService(); | 97 virtual net::SSLConfigService* GetSSLConfigService(); |
97 virtual HostContentSettingsMap* GetHostContentSettingsMap(); | 98 virtual HostContentSettingsMap* GetHostContentSettingsMap(); |
98 virtual HostZoomMap* GetHostZoomMap(); | 99 virtual HostZoomMap* GetHostZoomMap(); |
99 virtual GeolocationPermissionContext* GetGeolocationPermissionContext(); | 100 virtual GeolocationPermissionContext* GetGeolocationPermissionContext(); |
100 virtual UserStyleSheetWatcher* GetUserStyleSheetWatcher(); | 101 virtual UserStyleSheetWatcher* GetUserStyleSheetWatcher(); |
101 virtual FindBarState* GetFindBarState(); | 102 virtual FindBarState* GetFindBarState(); |
102 virtual bool HasProfileSyncService() const; | 103 virtual bool HasProfileSyncService() const; |
103 virtual bool DidLastSessionExitCleanly(); | 104 virtual bool DidLastSessionExitCleanly(); |
104 virtual BookmarkModel* GetBookmarkModel(); | 105 virtual BookmarkModel* GetBookmarkModel(); |
105 virtual ProtocolHandlerRegistry* GetProtocolHandlerRegistry(); | 106 virtual ProtocolHandlerRegistry* GetProtocolHandlerRegistry(); |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 scoped_ptr<BookmarkModel> bookmark_bar_model_; | 213 scoped_ptr<BookmarkModel> bookmark_bar_model_; |
213 scoped_refptr<PromoResourceService> promo_resource_service_; | 214 scoped_refptr<PromoResourceService> promo_resource_service_; |
214 scoped_refptr<ProtocolHandlerRegistry> protocol_handler_registry_; | 215 scoped_refptr<ProtocolHandlerRegistry> protocol_handler_registry_; |
215 | 216 |
216 scoped_ptr<TokenService> token_service_; | 217 scoped_ptr<TokenService> token_service_; |
217 scoped_ptr<ProfileSyncFactory> profile_sync_factory_; | 218 scoped_ptr<ProfileSyncFactory> profile_sync_factory_; |
218 scoped_ptr<ProfileSyncService> sync_service_; | 219 scoped_ptr<ProfileSyncService> sync_service_; |
219 | 220 |
220 ProfileImplIOData::Handle io_data_; | 221 ProfileImplIOData::Handle io_data_; |
221 | 222 |
| 223 scoped_refptr<SpdyConfigServiceManager> spdy_config_service_manager_; |
222 scoped_ptr<SSLConfigServiceManager> ssl_config_service_manager_; | 224 scoped_ptr<SSLConfigServiceManager> ssl_config_service_manager_; |
223 | 225 |
224 scoped_refptr<HostContentSettingsMap> host_content_settings_map_; | 226 scoped_refptr<HostContentSettingsMap> host_content_settings_map_; |
225 scoped_refptr<HostZoomMap> host_zoom_map_; | 227 scoped_refptr<HostZoomMap> host_zoom_map_; |
226 scoped_refptr<GeolocationPermissionContext> | 228 scoped_refptr<GeolocationPermissionContext> |
227 geolocation_permission_context_; | 229 geolocation_permission_context_; |
228 scoped_refptr<UserStyleSheetWatcher> user_style_sheet_watcher_; | 230 scoped_refptr<UserStyleSheetWatcher> user_style_sheet_watcher_; |
229 scoped_ptr<FindBarState> find_bar_state_; | 231 scoped_ptr<FindBarState> find_bar_state_; |
230 scoped_refptr<ChromeDownloadManagerDelegate> download_manager_delegate_; | 232 scoped_refptr<ChromeDownloadManagerDelegate> download_manager_delegate_; |
231 scoped_refptr<DownloadManager> download_manager_; | 233 scoped_refptr<DownloadManager> download_manager_; |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
288 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; | 290 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; |
289 | 291 |
290 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; | 292 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; |
291 | 293 |
292 Profile::Delegate* delegate_; | 294 Profile::Delegate* delegate_; |
293 | 295 |
294 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 296 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
295 }; | 297 }; |
296 | 298 |
297 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 299 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
OLD | NEW |