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

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

Issue 10828263: Moving FaviconService to a ProfileKeyedService. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 4 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 9
10 #include <string> 10 #include <string>
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 virtual Profile* GetOriginalProfile() OVERRIDE; 76 virtual Profile* GetOriginalProfile() OVERRIDE;
77 virtual history::TopSites* GetTopSites() OVERRIDE; 77 virtual history::TopSites* GetTopSites() OVERRIDE;
78 virtual history::TopSites* GetTopSitesWithoutCreating() OVERRIDE; 78 virtual history::TopSites* GetTopSitesWithoutCreating() OVERRIDE;
79 virtual VisitedLinkMaster* GetVisitedLinkMaster() OVERRIDE; 79 virtual VisitedLinkMaster* GetVisitedLinkMaster() OVERRIDE;
80 virtual ExtensionService* GetExtensionService() OVERRIDE; 80 virtual ExtensionService* GetExtensionService() OVERRIDE;
81 virtual extensions::UserScriptMaster* GetUserScriptMaster() OVERRIDE; 81 virtual extensions::UserScriptMaster* GetUserScriptMaster() OVERRIDE;
82 virtual ExtensionProcessManager* GetExtensionProcessManager() OVERRIDE; 82 virtual ExtensionProcessManager* GetExtensionProcessManager() OVERRIDE;
83 virtual extensions::EventRouter* GetExtensionEventRouter() OVERRIDE; 83 virtual extensions::EventRouter* GetExtensionEventRouter() OVERRIDE;
84 virtual ExtensionSpecialStoragePolicy* 84 virtual ExtensionSpecialStoragePolicy*
85 GetExtensionSpecialStoragePolicy() OVERRIDE; 85 GetExtensionSpecialStoragePolicy() OVERRIDE;
86 virtual FaviconService* GetFaviconService(ServiceAccessType sat) OVERRIDE;
87 virtual GAIAInfoUpdateService* GetGAIAInfoUpdateService() OVERRIDE; 86 virtual GAIAInfoUpdateService* GetGAIAInfoUpdateService() OVERRIDE;
88 virtual policy::UserCloudPolicyManager* GetUserCloudPolicyManager() OVERRIDE; 87 virtual policy::UserCloudPolicyManager* GetUserCloudPolicyManager() OVERRIDE;
89 virtual policy::PolicyService* GetPolicyService() OVERRIDE; 88 virtual policy::PolicyService* GetPolicyService() OVERRIDE;
90 virtual PrefService* GetPrefs() OVERRIDE; 89 virtual PrefService* GetPrefs() OVERRIDE;
91 virtual PrefService* GetOffTheRecordPrefs() OVERRIDE; 90 virtual PrefService* GetOffTheRecordPrefs() OVERRIDE;
92 virtual net::URLRequestContextGetter* 91 virtual net::URLRequestContextGetter*
93 GetRequestContextForExtensions() OVERRIDE; 92 GetRequestContextForExtensions() OVERRIDE;
94 virtual net::URLRequestContextGetter* GetRequestContextForIsolatedApp( 93 virtual net::URLRequestContextGetter* GetRequestContextForIsolatedApp(
95 const std::string& app_id) OVERRIDE; 94 const std::string& app_id) OVERRIDE;
96 virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE; 95 virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE;
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 ProfileImplIOData::Handle io_data_; 201 ProfileImplIOData::Handle io_data_;
203 scoped_refptr<ExtensionSpecialStoragePolicy> 202 scoped_refptr<ExtensionSpecialStoragePolicy>
204 extension_special_storage_policy_; 203 extension_special_storage_policy_;
205 scoped_ptr<NetPrefObserver> net_pref_observer_; 204 scoped_ptr<NetPrefObserver> net_pref_observer_;
206 scoped_refptr<PromoResourceService> promo_resource_service_; 205 scoped_refptr<PromoResourceService> promo_resource_service_;
207 scoped_ptr<SSLConfigServiceManager> ssl_config_service_manager_; 206 scoped_ptr<SSLConfigServiceManager> ssl_config_service_manager_;
208 scoped_refptr<HostContentSettingsMap> host_content_settings_map_; 207 scoped_refptr<HostContentSettingsMap> host_content_settings_map_;
209 scoped_refptr<content::GeolocationPermissionContext> 208 scoped_refptr<content::GeolocationPermissionContext>
210 geolocation_permission_context_; 209 geolocation_permission_context_;
211 scoped_ptr<GAIAInfoUpdateService> gaia_info_update_service_; 210 scoped_ptr<GAIAInfoUpdateService> gaia_info_update_service_;
212 scoped_ptr<FaviconService> favicon_service_;
213 scoped_refptr<history::ShortcutsBackend> shortcuts_backend_; 211 scoped_refptr<history::ShortcutsBackend> shortcuts_backend_;
214 bool favicon_service_created_;
215 212
216 // Whether or not the last session exited cleanly. This is set only once. 213 // Whether or not the last session exited cleanly. This is set only once.
217 bool last_session_exited_cleanly_; 214 bool last_session_exited_cleanly_;
218 215
219 #if defined(ENABLE_SESSION_SERVICE) 216 #if defined(ENABLE_SESSION_SERVICE)
220 base::OneShotTimer<ProfileImpl> create_session_service_timer_; 217 base::OneShotTimer<ProfileImpl> create_session_service_timer_;
221 #endif 218 #endif
222 219
223 scoped_ptr<Profile> off_the_record_profile_; 220 scoped_ptr<Profile> off_the_record_profile_;
224 221
(...skipping 28 matching lines...) Expand all
253 // chrome/browser/profile/profile_keyed_dependency_manager.{h,cc} 250 // chrome/browser/profile/profile_keyed_dependency_manager.{h,cc}
254 251
255 Profile::Delegate* delegate_; 252 Profile::Delegate* delegate_;
256 253
257 chrome_browser_net::Predictor* predictor_; 254 chrome_browser_net::Predictor* predictor_;
258 255
259 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); 256 DISALLOW_COPY_AND_ASSIGN(ProfileImpl);
260 }; 257 };
261 258
262 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 259 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698