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

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

Issue 10399087: Converting BookmarkModel and HistoryService to ProfileKeyedServices. This just performs the initial… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 6 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 #pragma once 9 #pragma once
10 10
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 // |net_pref_observer_|, |promo_resource_service_|, |io_data_| an others store 202 // |net_pref_observer_|, |promo_resource_service_|, |io_data_| an others store
203 // pointers to |prefs_| and shall be destructed first. 203 // pointers to |prefs_| and shall be destructed first.
204 scoped_ptr<PrefService> prefs_; 204 scoped_ptr<PrefService> prefs_;
205 scoped_ptr<PrefService> otr_prefs_; 205 scoped_ptr<PrefService> otr_prefs_;
206 scoped_ptr<VisitedLinkEventListener> visited_link_event_listener_; 206 scoped_ptr<VisitedLinkEventListener> visited_link_event_listener_;
207 scoped_ptr<VisitedLinkMaster> visited_link_master_; 207 scoped_ptr<VisitedLinkMaster> visited_link_master_;
208 ProfileImplIOData::Handle io_data_; 208 ProfileImplIOData::Handle io_data_;
209 scoped_refptr<ExtensionSpecialStoragePolicy> 209 scoped_refptr<ExtensionSpecialStoragePolicy>
210 extension_special_storage_policy_; 210 extension_special_storage_policy_;
211 scoped_ptr<NetPrefObserver> net_pref_observer_; 211 scoped_ptr<NetPrefObserver> net_pref_observer_;
212 scoped_ptr<BookmarkModel> bookmark_bar_model_;
213 212
214 #if defined(ENABLE_PROMO_RESOURCE_SERVICE) 213 #if defined(ENABLE_PROMO_RESOURCE_SERVICE)
215 scoped_refptr<PromoResourceService> promo_resource_service_; 214 scoped_refptr<PromoResourceService> promo_resource_service_;
216 #endif 215 #endif
217 216
218 scoped_refptr<ProtocolHandlerRegistry> protocol_handler_registry_; 217 scoped_refptr<ProtocolHandlerRegistry> protocol_handler_registry_;
219 218
220 scoped_ptr<SSLConfigServiceManager> ssl_config_service_manager_; 219 scoped_ptr<SSLConfigServiceManager> ssl_config_service_manager_;
221 220
222 scoped_refptr<HostContentSettingsMap> host_content_settings_map_; 221 scoped_refptr<HostContentSettingsMap> host_content_settings_map_;
223 scoped_refptr<content::GeolocationPermissionContext> 222 scoped_refptr<content::GeolocationPermissionContext>
224 geolocation_permission_context_; 223 geolocation_permission_context_;
225 scoped_ptr<GAIAInfoUpdateService> gaia_info_update_service_; 224 scoped_ptr<GAIAInfoUpdateService> gaia_info_update_service_;
226 scoped_refptr<HistoryService> history_service_;
227 scoped_ptr<FaviconService> favicon_service_; 225 scoped_ptr<FaviconService> favicon_service_;
228 scoped_ptr<AutocompleteClassifier> autocomplete_classifier_; 226 scoped_ptr<AutocompleteClassifier> autocomplete_classifier_;
229 scoped_refptr<history::ShortcutsBackend> shortcuts_backend_; 227 scoped_refptr<history::ShortcutsBackend> shortcuts_backend_;
230 bool history_service_created_;
231 bool favicon_service_created_; 228 bool favicon_service_created_;
232 229
233 // Whether or not the last session exited cleanly. This is set only once. 230 // Whether or not the last session exited cleanly. This is set only once.
234 bool last_session_exited_cleanly_; 231 bool last_session_exited_cleanly_;
235 232
236 #if defined(ENABLE_SESSION_SERVICE) 233 #if defined(ENABLE_SESSION_SERVICE)
237 base::OneShotTimer<ProfileImpl> create_session_service_timer_; 234 base::OneShotTimer<ProfileImpl> create_session_service_timer_;
238 #endif 235 #endif
239 236
240 scoped_ptr<Profile> off_the_record_profile_; 237 scoped_ptr<Profile> off_the_record_profile_;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 Profile::Delegate* delegate_; 269 Profile::Delegate* delegate_;
273 270
274 chrome_browser_net::Predictor* predictor_; 271 chrome_browser_net::Predictor* predictor_;
275 272
276 bool session_restore_enabled_; 273 bool session_restore_enabled_;
277 274
278 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); 275 DISALLOW_COPY_AND_ASSIGN(ProfileImpl);
279 }; 276 };
280 277
281 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 278 #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