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

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

Issue 10857037: Make FaviconService a ProfileKeyedService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Override Shutdown() in FaviconService to NULL the profile_ pointer. 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 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 ProfileImplIOData::Handle io_data_; 201 ProfileImplIOData::Handle io_data_;
202 scoped_refptr<ExtensionSpecialStoragePolicy> 202 scoped_refptr<ExtensionSpecialStoragePolicy>
203 extension_special_storage_policy_; 203 extension_special_storage_policy_;
204 scoped_ptr<NetPrefObserver> net_pref_observer_; 204 scoped_ptr<NetPrefObserver> net_pref_observer_;
205 scoped_refptr<PromoResourceService> promo_resource_service_; 205 scoped_refptr<PromoResourceService> promo_resource_service_;
206 scoped_ptr<SSLConfigServiceManager> ssl_config_service_manager_; 206 scoped_ptr<SSLConfigServiceManager> ssl_config_service_manager_;
207 scoped_refptr<HostContentSettingsMap> host_content_settings_map_; 207 scoped_refptr<HostContentSettingsMap> host_content_settings_map_;
208 scoped_refptr<content::GeolocationPermissionContext> 208 scoped_refptr<content::GeolocationPermissionContext>
209 geolocation_permission_context_; 209 geolocation_permission_context_;
210 scoped_ptr<GAIAInfoUpdateService> gaia_info_update_service_; 210 scoped_ptr<GAIAInfoUpdateService> gaia_info_update_service_;
211 scoped_ptr<FaviconService> favicon_service_;
212 scoped_refptr<history::ShortcutsBackend> shortcuts_backend_; 211 scoped_refptr<history::ShortcutsBackend> shortcuts_backend_;
213 bool favicon_service_created_;
214 212
215 // 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.
216 bool last_session_exited_cleanly_; 214 bool last_session_exited_cleanly_;
217 215
218 #if defined(ENABLE_SESSION_SERVICE) 216 #if defined(ENABLE_SESSION_SERVICE)
219 base::OneShotTimer<ProfileImpl> create_session_service_timer_; 217 base::OneShotTimer<ProfileImpl> create_session_service_timer_;
220 #endif 218 #endif
221 219
222 scoped_ptr<Profile> off_the_record_profile_; 220 scoped_ptr<Profile> off_the_record_profile_;
223 221
(...skipping 30 matching lines...) Expand all
254 Profile::Delegate* delegate_; 252 Profile::Delegate* delegate_;
255 253
256 chrome_browser_net::Predictor* predictor_; 254 chrome_browser_net::Predictor* predictor_;
257 255
258 bool session_restore_enabled_; 256 bool session_restore_enabled_;
259 257
260 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); 258 DISALLOW_COPY_AND_ASSIGN(ProfileImpl);
261 }; 259 };
262 260
263 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 261 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_dependency_manager.cc ('k') | chrome/browser/profiles/profile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698