OLD | NEW |
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 // When each service is created, we set a flag indicating this. At this point, | 5 // When each service is created, we set a flag indicating this. At this point, |
6 // the service initialization could fail or succeed. This allows us to remember | 6 // the service initialization could fail or succeed. This allows us to remember |
7 // if we tried to create a service, and not try creating it over and over if | 7 // if we tried to create a service, and not try creating it over and over if |
8 // the creation failed. | 8 // the creation failed. |
9 | 9 |
10 #ifndef CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ | 10 #ifndef CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ |
(...skipping 15 matching lines...) Expand all Loading... |
26 #include "content/common/notification_observer.h" | 26 #include "content/common/notification_observer.h" |
27 #include "content/common/notification_registrar.h" | 27 #include "content/common/notification_registrar.h" |
28 #include "ipc/ipc_message.h" | 28 #include "ipc/ipc_message.h" |
29 | 29 |
30 class BrowserOnlineStateObserver; | 30 class BrowserOnlineStateObserver; |
31 class ChromeNetLog; | 31 class ChromeNetLog; |
32 class ChromeResourceDispatcherHostDelegate; | 32 class ChromeResourceDispatcherHostDelegate; |
33 class CommandLine; | 33 class CommandLine; |
34 class DevToolsProtocolHandler; | 34 class DevToolsProtocolHandler; |
35 class FilePath; | 35 class FilePath; |
36 class NotificationService; | |
37 class PluginDataRemover; | 36 class PluginDataRemover; |
38 class RemoteDebuggingServer; | 37 class RemoteDebuggingServer; |
39 class TabCloseableStateWatcher; | 38 class TabCloseableStateWatcher; |
40 | 39 |
41 namespace policy{ | 40 namespace policy{ |
42 class BrowserPolicyConnector; | 41 class BrowserPolicyConnector; |
43 }; | 42 }; |
44 | 43 |
45 // Real implementation of BrowserProcess that creates and returns the services. | 44 // Real implementation of BrowserProcess that creates and returns the services. |
46 class BrowserProcessImpl : public BrowserProcess, | 45 class BrowserProcessImpl : public BrowserProcess, |
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
237 | 236 |
238 // Manager for desktop notification UI. | 237 // Manager for desktop notification UI. |
239 bool created_notification_ui_manager_; | 238 bool created_notification_ui_manager_; |
240 scoped_ptr<NotificationUIManager> notification_ui_manager_; | 239 scoped_ptr<NotificationUIManager> notification_ui_manager_; |
241 | 240 |
242 scoped_ptr<AutomationProviderList> automation_provider_list_; | 241 scoped_ptr<AutomationProviderList> automation_provider_list_; |
243 | 242 |
244 scoped_ptr<GoogleURLTracker> google_url_tracker_; | 243 scoped_ptr<GoogleURLTracker> google_url_tracker_; |
245 scoped_ptr<IntranetRedirectDetector> intranet_redirect_detector_; | 244 scoped_ptr<IntranetRedirectDetector> intranet_redirect_detector_; |
246 | 245 |
247 scoped_ptr<NotificationService> main_notification_service_; | |
248 | |
249 scoped_ptr<TabCloseableStateWatcher> tab_closeable_state_watcher_; | 246 scoped_ptr<TabCloseableStateWatcher> tab_closeable_state_watcher_; |
250 | 247 |
251 scoped_ptr<BackgroundModeManager> background_mode_manager_; | 248 scoped_ptr<BackgroundModeManager> background_mode_manager_; |
252 | 249 |
253 scoped_ptr<StatusTray> status_tray_; | 250 scoped_ptr<StatusTray> status_tray_; |
254 | 251 |
255 bool created_safe_browsing_service_; | 252 bool created_safe_browsing_service_; |
256 scoped_refptr<SafeBrowsingService> safe_browsing_service_; | 253 scoped_refptr<SafeBrowsingService> safe_browsing_service_; |
257 | 254 |
258 unsigned int module_ref_count_; | 255 unsigned int module_ref_count_; |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
319 scoped_refptr<GpuBlacklistUpdater> gpu_blacklist_updater_; | 316 scoped_refptr<GpuBlacklistUpdater> gpu_blacklist_updater_; |
320 | 317 |
321 #if !defined(OS_CHROMEOS) | 318 #if !defined(OS_CHROMEOS) |
322 scoped_ptr<ComponentUpdateService> component_updater_; | 319 scoped_ptr<ComponentUpdateService> component_updater_; |
323 #endif | 320 #endif |
324 | 321 |
325 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); | 322 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); |
326 }; | 323 }; |
327 | 324 |
328 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ | 325 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ |
OLD | NEW |