Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(118)

Side by Side Diff: chrome/browser/profiles/profile_impl.h

Issue 6542003: Refactor WebResourceService class, making it more generic. Move all the prom... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: For the records Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/profiles/profile.cc ('k') | chrome/browser/profiles/profile_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 virtual TabRestoreService* GetTabRestoreService(); 108 virtual TabRestoreService* GetTabRestoreService();
109 virtual void ResetTabRestoreService(); 109 virtual void ResetTabRestoreService();
110 virtual SpellCheckHost* GetSpellCheckHost(); 110 virtual SpellCheckHost* GetSpellCheckHost();
111 virtual void ReinitializeSpellCheckHost(bool force); 111 virtual void ReinitializeSpellCheckHost(bool force);
112 virtual WebKitContext* GetWebKitContext(); 112 virtual WebKitContext* GetWebKitContext();
113 virtual DesktopNotificationService* GetDesktopNotificationService(); 113 virtual DesktopNotificationService* GetDesktopNotificationService();
114 virtual BackgroundContentsService* GetBackgroundContentsService() const; 114 virtual BackgroundContentsService* GetBackgroundContentsService() const;
115 virtual StatusTray* GetStatusTray(); 115 virtual StatusTray* GetStatusTray();
116 virtual void MarkAsCleanShutdown(); 116 virtual void MarkAsCleanShutdown();
117 virtual void InitExtensions(); 117 virtual void InitExtensions();
118 virtual void InitWebResources(); 118 virtual void InitPromoResources();
119 virtual NTPResourceCache* GetNTPResourceCache(); 119 virtual NTPResourceCache* GetNTPResourceCache();
120 virtual FilePath last_selected_directory(); 120 virtual FilePath last_selected_directory();
121 virtual void set_last_selected_directory(const FilePath& path); 121 virtual void set_last_selected_directory(const FilePath& path);
122 virtual ProfileSyncService* GetProfileSyncService(); 122 virtual ProfileSyncService* GetProfileSyncService();
123 virtual ProfileSyncService* GetProfileSyncService( 123 virtual ProfileSyncService* GetProfileSyncService(
124 const std::string& cros_user); 124 const std::string& cros_user);
125 virtual TokenService* GetTokenService(); 125 virtual TokenService* GetTokenService();
126 void InitSyncService(const std::string& cros_user); 126 void InitSyncService(const std::string& cros_user);
127 virtual CloudPrintProxyService* GetCloudPrintProxyService(); 127 virtual CloudPrintProxyService* GetCloudPrintProxyService();
128 void InitCloudPrintProxyService(); 128 void InitCloudPrintProxyService();
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 scoped_ptr<SSLHostState> ssl_host_state_; 201 scoped_ptr<SSLHostState> ssl_host_state_;
202 scoped_refptr<net::TransportSecurityState> 202 scoped_refptr<net::TransportSecurityState>
203 transport_security_state_; 203 transport_security_state_;
204 scoped_refptr<TransportSecurityPersister> 204 scoped_refptr<TransportSecurityPersister>
205 transport_security_persister_; 205 transport_security_persister_;
206 scoped_ptr<policy::ProfilePolicyContext> profile_policy_context_; 206 scoped_ptr<policy::ProfilePolicyContext> profile_policy_context_;
207 scoped_ptr<NetPrefObserver> net_pref_observer_; 207 scoped_ptr<NetPrefObserver> net_pref_observer_;
208 scoped_ptr<TemplateURLFetcher> template_url_fetcher_; 208 scoped_ptr<TemplateURLFetcher> template_url_fetcher_;
209 scoped_ptr<TemplateURLModel> template_url_model_; 209 scoped_ptr<TemplateURLModel> template_url_model_;
210 scoped_ptr<BookmarkModel> bookmark_bar_model_; 210 scoped_ptr<BookmarkModel> bookmark_bar_model_;
211 scoped_refptr<WebResourceService> web_resource_service_; 211 scoped_refptr<PromoResourceService> promo_resource_service_;
212 scoped_ptr<NTPResourceCache> ntp_resource_cache_; 212 scoped_ptr<NTPResourceCache> ntp_resource_cache_;
213 213
214 scoped_ptr<TokenService> token_service_; 214 scoped_ptr<TokenService> token_service_;
215 scoped_ptr<ProfileSyncFactory> profile_sync_factory_; 215 scoped_ptr<ProfileSyncFactory> profile_sync_factory_;
216 scoped_ptr<ProfileSyncService> sync_service_; 216 scoped_ptr<ProfileSyncService> sync_service_;
217 scoped_refptr<CloudPrintProxyService> cloud_print_proxy_service_; 217 scoped_refptr<CloudPrintProxyService> cloud_print_proxy_service_;
218 218
219 ProfileImplIOData::Handle io_data_; 219 ProfileImplIOData::Handle io_data_;
220 220
221 scoped_ptr<SSLConfigServiceManager> ssl_config_service_manager_; 221 scoped_ptr<SSLConfigServiceManager> ssl_config_service_manager_;
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; 306 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_;
307 307
308 scoped_refptr<PrerenderManager> prerender_manager_; 308 scoped_refptr<PrerenderManager> prerender_manager_;
309 309
310 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; 310 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_;
311 311
312 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); 312 DISALLOW_COPY_AND_ASSIGN(ProfileImpl);
313 }; 313 };
314 314
315 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 315 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile.cc ('k') | chrome/browser/profiles/profile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698