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

Side by Side Diff: chrome/browser/browser_process.h

Issue 1814923002: Nuke NotificationUIManager from PlatformNotificationServiceImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@profile_manager_load
Patch Set: Created 4 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
« no previous file with comments | « chrome/browser/android/chrome_jni_registrar.cc ('k') | chrome/browser/browser_process_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 interface is for managing the global services of the application. Each 5 // This interface is for managing the global services of the application. Each
6 // service is lazily created when requested the first time. The service getters 6 // service is lazily created when requested the first time. The service getters
7 // will return NULL if the service is not available, so callers must check for 7 // will return NULL if the service is not available, so callers must check for
8 // this condition. 8 // this condition.
9 9
10 #ifndef CHROME_BROWSER_BROWSER_PROCESS_H_ 10 #ifndef CHROME_BROWSER_BROWSER_PROCESS_H_
(...skipping 12 matching lines...) Expand all
23 class BackgroundModeManager; 23 class BackgroundModeManager;
24 class CRLSetFetcher; 24 class CRLSetFetcher;
25 class DownloadRequestLimiter; 25 class DownloadRequestLimiter;
26 class DownloadStatusUpdater; 26 class DownloadStatusUpdater;
27 class GLStringManager; 27 class GLStringManager;
28 class GpuModeManager; 28 class GpuModeManager;
29 class IconManager; 29 class IconManager;
30 class IntranetRedirectDetector; 30 class IntranetRedirectDetector;
31 class IOThread; 31 class IOThread;
32 class MediaFileSystemRegistry; 32 class MediaFileSystemRegistry;
33 class NotificationPlatformBridge;
33 class NotificationUIManager; 34 class NotificationUIManager;
34 class PrefRegistrySimple; 35 class PrefRegistrySimple;
35 class PrefService; 36 class PrefService;
36 class Profile; 37 class Profile;
37 class ProfileManager; 38 class ProfileManager;
38 class StatusTray; 39 class StatusTray;
39 class WatchDogThread; 40 class WatchDogThread;
40 #if defined(ENABLE_WEBRTC) 41 #if defined(ENABLE_WEBRTC)
41 class WebRtcLogUploader; 42 class WebRtcLogUploader;
42 #endif 43 #endif
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 virtual net::URLRequestContextGetter* system_request_context() = 0; 144 virtual net::URLRequestContextGetter* system_request_context() = 0;
144 virtual variations::VariationsService* variations_service() = 0; 145 virtual variations::VariationsService* variations_service() = 0;
145 virtual web_resource::PromoResourceService* promo_resource_service() = 0; 146 virtual web_resource::PromoResourceService* promo_resource_service() = 0;
146 147
147 virtual BrowserProcessPlatformPart* platform_part() = 0; 148 virtual BrowserProcessPlatformPart* platform_part() = 0;
148 149
149 virtual extensions::EventRouterForwarder* 150 virtual extensions::EventRouterForwarder*
150 extension_event_router_forwarder() = 0; 151 extension_event_router_forwarder() = 0;
151 152
152 // Returns the manager for desktop notifications. 153 // Returns the manager for desktop notifications.
154 // TODO(miguelg) This is in the process of being deprecated in favour of
155 // NotificationPlatformBridge + NotificationDisplayService
153 virtual NotificationUIManager* notification_ui_manager() = 0; 156 virtual NotificationUIManager* notification_ui_manager() = 0;
157 virtual NotificationPlatformBridge* notification_platform_bridge() = 0;
154 158
155 // MessageCenter is a global list of currently displayed notifications. 159 // MessageCenter is a global list of currently displayed notifications.
156 virtual message_center::MessageCenter* message_center() = 0; 160 virtual message_center::MessageCenter* message_center() = 0;
157 161
158 // Returns the state object for the thread that we perform I/O 162 // Returns the state object for the thread that we perform I/O
159 // coordination on (network requests, communication with renderers, 163 // coordination on (network requests, communication with renderers,
160 // etc. 164 // etc.
161 // 165 //
162 // Can be NULL close to startup and shutdown. 166 // Can be NULL close to startup and shutdown.
163 // 167 //
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 virtual shell_integration::DefaultWebClientState 271 virtual shell_integration::DefaultWebClientState
268 CachedDefaultWebClientState() = 0; 272 CachedDefaultWebClientState() = 0;
269 273
270 private: 274 private:
271 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); 275 DISALLOW_COPY_AND_ASSIGN(BrowserProcess);
272 }; 276 };
273 277
274 extern BrowserProcess* g_browser_process; 278 extern BrowserProcess* g_browser_process;
275 279
276 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ 280 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_
OLDNEW
« no previous file with comments | « chrome/browser/android/chrome_jni_registrar.cc ('k') | chrome/browser/browser_process_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698