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

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

Issue 6813116: Revert 81277 - Profile shouldn't own DesktopNotificationService.DesktopNotificationService is now... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 8 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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 virtual bool DidLastSessionExitCleanly(); 104 virtual bool DidLastSessionExitCleanly();
105 virtual BookmarkModel* GetBookmarkModel(); 105 virtual BookmarkModel* GetBookmarkModel();
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 TabRestoreService* GetTabRestoreService(); 109 virtual TabRestoreService* GetTabRestoreService();
110 virtual void ResetTabRestoreService(); 110 virtual void ResetTabRestoreService();
111 virtual SpellCheckHost* GetSpellCheckHost(); 111 virtual SpellCheckHost* GetSpellCheckHost();
112 virtual void ReinitializeSpellCheckHost(bool force); 112 virtual void ReinitializeSpellCheckHost(bool force);
113 virtual WebKitContext* GetWebKitContext(); 113 virtual WebKitContext* GetWebKitContext();
114 virtual DesktopNotificationService* GetDesktopNotificationService();
114 virtual BackgroundContentsService* GetBackgroundContentsService() const; 115 virtual BackgroundContentsService* GetBackgroundContentsService() const;
115 virtual StatusTray* GetStatusTray(); 116 virtual StatusTray* GetStatusTray();
116 virtual void MarkAsCleanShutdown(); 117 virtual void MarkAsCleanShutdown();
117 virtual void InitExtensions(); 118 virtual void InitExtensions();
118 virtual void InitPromoResources(); 119 virtual void InitPromoResources();
119 virtual void InitRegisteredProtocolHandlers(); 120 virtual void InitRegisteredProtocolHandlers();
120 virtual NTPResourceCache* GetNTPResourceCache(); 121 virtual NTPResourceCache* GetNTPResourceCache();
121 virtual FilePath last_selected_directory(); 122 virtual FilePath last_selected_directory();
122 virtual void set_last_selected_directory(const FilePath& path); 123 virtual void set_last_selected_directory(const FilePath& path);
123 virtual ProfileSyncService* GetProfileSyncService(); 124 virtual ProfileSyncService* GetProfileSyncService();
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 scoped_refptr<UserStyleSheetWatcher> user_style_sheet_watcher_; 235 scoped_refptr<UserStyleSheetWatcher> user_style_sheet_watcher_;
235 scoped_ptr<FindBarState> find_bar_state_; 236 scoped_ptr<FindBarState> find_bar_state_;
236 scoped_refptr<DownloadManager> download_manager_; 237 scoped_refptr<DownloadManager> download_manager_;
237 scoped_refptr<HistoryService> history_service_; 238 scoped_refptr<HistoryService> history_service_;
238 scoped_refptr<FaviconService> favicon_service_; 239 scoped_refptr<FaviconService> favicon_service_;
239 scoped_ptr<AutocompleteClassifier> autocomplete_classifier_; 240 scoped_ptr<AutocompleteClassifier> autocomplete_classifier_;
240 scoped_refptr<WebDataService> web_data_service_; 241 scoped_refptr<WebDataService> web_data_service_;
241 scoped_refptr<PasswordStore> password_store_; 242 scoped_refptr<PasswordStore> password_store_;
242 scoped_refptr<SessionService> session_service_; 243 scoped_refptr<SessionService> session_service_;
243 scoped_refptr<WebKitContext> webkit_context_; 244 scoped_refptr<WebKitContext> webkit_context_;
245 scoped_ptr<DesktopNotificationService> desktop_notification_service_;
244 scoped_ptr<BackgroundContentsService> background_contents_service_; 246 scoped_ptr<BackgroundContentsService> background_contents_service_;
245 scoped_ptr<BackgroundModeManager> background_mode_manager_; 247 scoped_ptr<BackgroundModeManager> background_mode_manager_;
246 scoped_ptr<StatusTray> status_tray_; 248 scoped_ptr<StatusTray> status_tray_;
247 scoped_refptr<PersonalDataManager> personal_data_manager_; 249 scoped_refptr<PersonalDataManager> personal_data_manager_;
248 scoped_refptr<fileapi::FileSystemContext> file_system_context_; 250 scoped_refptr<fileapi::FileSystemContext> file_system_context_;
249 scoped_ptr<BrowserSignin> browser_signin_; 251 scoped_ptr<BrowserSignin> browser_signin_;
250 bool history_service_created_; 252 bool history_service_created_;
251 bool favicon_service_created_; 253 bool favicon_service_created_;
252 bool created_web_data_service_; 254 bool created_web_data_service_;
253 bool created_password_store_; 255 bool created_password_store_;
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 #endif 306 #endif
305 307
306 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; 308 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_;
307 309
308 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; 310 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_;
309 311
310 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); 312 DISALLOW_COPY_AND_ASSIGN(ProfileImpl);
311 }; 313 };
312 314
313 #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_dependency_manager_unittest.cc ('k') | chrome/browser/profiles/profile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698