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

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

Issue 6803012: Profile shouldn't own DesktopNotificationService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase 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();
115 virtual BackgroundContentsService* GetBackgroundContentsService() const; 114 virtual BackgroundContentsService* GetBackgroundContentsService() const;
116 virtual StatusTray* GetStatusTray(); 115 virtual StatusTray* GetStatusTray();
117 virtual void MarkAsCleanShutdown(); 116 virtual void MarkAsCleanShutdown();
118 virtual void InitExtensions(); 117 virtual void InitExtensions();
119 virtual void InitPromoResources(); 118 virtual void InitPromoResources();
120 virtual void InitRegisteredProtocolHandlers(); 119 virtual void InitRegisteredProtocolHandlers();
121 virtual NTPResourceCache* GetNTPResourceCache(); 120 virtual NTPResourceCache* GetNTPResourceCache();
122 virtual FilePath last_selected_directory(); 121 virtual FilePath last_selected_directory();
123 virtual void set_last_selected_directory(const FilePath& path); 122 virtual void set_last_selected_directory(const FilePath& path);
124 virtual ProfileSyncService* GetProfileSyncService(); 123 virtual ProfileSyncService* GetProfileSyncService();
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 scoped_refptr<UserStyleSheetWatcher> user_style_sheet_watcher_; 234 scoped_refptr<UserStyleSheetWatcher> user_style_sheet_watcher_;
236 scoped_ptr<FindBarState> find_bar_state_; 235 scoped_ptr<FindBarState> find_bar_state_;
237 scoped_refptr<DownloadManager> download_manager_; 236 scoped_refptr<DownloadManager> download_manager_;
238 scoped_refptr<HistoryService> history_service_; 237 scoped_refptr<HistoryService> history_service_;
239 scoped_refptr<FaviconService> favicon_service_; 238 scoped_refptr<FaviconService> favicon_service_;
240 scoped_ptr<AutocompleteClassifier> autocomplete_classifier_; 239 scoped_ptr<AutocompleteClassifier> autocomplete_classifier_;
241 scoped_refptr<WebDataService> web_data_service_; 240 scoped_refptr<WebDataService> web_data_service_;
242 scoped_refptr<PasswordStore> password_store_; 241 scoped_refptr<PasswordStore> password_store_;
243 scoped_refptr<SessionService> session_service_; 242 scoped_refptr<SessionService> session_service_;
244 scoped_refptr<WebKitContext> webkit_context_; 243 scoped_refptr<WebKitContext> webkit_context_;
245 scoped_ptr<DesktopNotificationService> desktop_notification_service_;
246 scoped_ptr<BackgroundContentsService> background_contents_service_; 244 scoped_ptr<BackgroundContentsService> background_contents_service_;
247 scoped_ptr<BackgroundModeManager> background_mode_manager_; 245 scoped_ptr<BackgroundModeManager> background_mode_manager_;
248 scoped_ptr<StatusTray> status_tray_; 246 scoped_ptr<StatusTray> status_tray_;
249 scoped_refptr<PersonalDataManager> personal_data_manager_; 247 scoped_refptr<PersonalDataManager> personal_data_manager_;
250 scoped_ptr<PinnedTabService> pinned_tab_service_; 248 scoped_ptr<PinnedTabService> pinned_tab_service_;
251 scoped_refptr<fileapi::FileSystemContext> file_system_context_; 249 scoped_refptr<fileapi::FileSystemContext> file_system_context_;
252 scoped_ptr<BrowserSignin> browser_signin_; 250 scoped_ptr<BrowserSignin> browser_signin_;
253 bool history_service_created_; 251 bool history_service_created_;
254 bool favicon_service_created_; 252 bool favicon_service_created_;
255 bool created_web_data_service_; 253 bool created_web_data_service_;
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 #endif 305 #endif
308 306
309 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; 307 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_;
310 308
311 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; 309 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_;
312 310
313 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); 311 DISALLOW_COPY_AND_ASSIGN(ProfileImpl);
314 }; 312 };
315 313
316 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 314 #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