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

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

Issue 7248038: Profiles: Make NTPResourceCache a ProfileKeyedService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Oops. Missed the point. Created 9 years, 5 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
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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 virtual ProtocolHandlerRegistry* GetProtocolHandlerRegistry(); 106 virtual ProtocolHandlerRegistry* GetProtocolHandlerRegistry();
107 virtual bool IsSameProfile(Profile* profile); 107 virtual bool IsSameProfile(Profile* profile);
108 virtual base::Time GetStartTime() const; 108 virtual base::Time GetStartTime() const;
109 virtual SpellCheckHost* GetSpellCheckHost(); 109 virtual SpellCheckHost* GetSpellCheckHost();
110 virtual void ReinitializeSpellCheckHost(bool force); 110 virtual void ReinitializeSpellCheckHost(bool force);
111 virtual WebKitContext* GetWebKitContext(); 111 virtual WebKitContext* GetWebKitContext();
112 virtual void MarkAsCleanShutdown(); 112 virtual void MarkAsCleanShutdown();
113 virtual void InitExtensions(bool extensions_enabled); 113 virtual void InitExtensions(bool extensions_enabled);
114 virtual void InitPromoResources(); 114 virtual void InitPromoResources();
115 virtual void InitRegisteredProtocolHandlers(); 115 virtual void InitRegisteredProtocolHandlers();
116 virtual NTPResourceCache* GetNTPResourceCache();
117 virtual FilePath last_selected_directory(); 116 virtual FilePath last_selected_directory();
118 virtual void set_last_selected_directory(const FilePath& path); 117 virtual void set_last_selected_directory(const FilePath& path);
119 virtual ProfileSyncService* GetProfileSyncService(); 118 virtual ProfileSyncService* GetProfileSyncService();
120 virtual ProfileSyncService* GetProfileSyncService( 119 virtual ProfileSyncService* GetProfileSyncService(
121 const std::string& cros_user); 120 const std::string& cros_user);
122 virtual TokenService* GetTokenService(); 121 virtual TokenService* GetTokenService();
123 void InitSyncService(const std::string& cros_user); 122 void InitSyncService(const std::string& cros_user);
124 virtual CloudPrintProxyService* GetCloudPrintProxyService(); 123 virtual CloudPrintProxyService* GetCloudPrintProxyService();
125 void InitCloudPrintProxyService(); 124 void InitCloudPrintProxyService();
126 virtual ChromeBlobStorageContext* GetBlobStorageContext(); 125 virtual ChromeBlobStorageContext* GetBlobStorageContext();
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 scoped_refptr<net::TransportSecurityState> 205 scoped_refptr<net::TransportSecurityState>
207 transport_security_state_; 206 transport_security_state_;
208 scoped_refptr<TransportSecurityPersister> 207 scoped_refptr<TransportSecurityPersister>
209 transport_security_persister_; 208 transport_security_persister_;
210 scoped_ptr<prerender::PrerenderManager> prerender_manager_; 209 scoped_ptr<prerender::PrerenderManager> prerender_manager_;
211 scoped_ptr<NetPrefObserver> net_pref_observer_; 210 scoped_ptr<NetPrefObserver> net_pref_observer_;
212 scoped_ptr<TemplateURLFetcher> template_url_fetcher_; 211 scoped_ptr<TemplateURLFetcher> template_url_fetcher_;
213 scoped_ptr<BookmarkModel> bookmark_bar_model_; 212 scoped_ptr<BookmarkModel> bookmark_bar_model_;
214 scoped_refptr<PromoResourceService> promo_resource_service_; 213 scoped_refptr<PromoResourceService> promo_resource_service_;
215 scoped_refptr<ProtocolHandlerRegistry> protocol_handler_registry_; 214 scoped_refptr<ProtocolHandlerRegistry> protocol_handler_registry_;
216 scoped_ptr<NTPResourceCache> ntp_resource_cache_;
217 215
218 scoped_ptr<TokenService> token_service_; 216 scoped_ptr<TokenService> token_service_;
219 scoped_ptr<ProfileSyncFactory> profile_sync_factory_; 217 scoped_ptr<ProfileSyncFactory> profile_sync_factory_;
220 scoped_ptr<ProfileSyncService> sync_service_; 218 scoped_ptr<ProfileSyncService> sync_service_;
221 scoped_refptr<CloudPrintProxyService> cloud_print_proxy_service_; 219 scoped_refptr<CloudPrintProxyService> cloud_print_proxy_service_;
222 220
223 ProfileImplIOData::Handle io_data_; 221 ProfileImplIOData::Handle io_data_;
224 222
225 scoped_ptr<SSLConfigServiceManager> ssl_config_service_manager_; 223 scoped_ptr<SSLConfigServiceManager> ssl_config_service_manager_;
226 224
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; 295 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_;
298 296
299 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; 297 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_;
300 298
301 Profile::Delegate* delegate_; 299 Profile::Delegate* delegate_;
302 300
303 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); 301 DISALLOW_COPY_AND_ASSIGN(ProfileImpl);
304 }; 302 };
305 303
306 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 304 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698