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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 virtual printing::PrintJobManager* print_job_manager(); | 90 virtual printing::PrintJobManager* print_job_manager(); |
91 virtual printing::PrintPreviewTabController* print_preview_tab_controller(); | 91 virtual printing::PrintPreviewTabController* print_preview_tab_controller(); |
92 virtual printing::BackgroundPrintingManager* background_printing_manager(); | 92 virtual printing::BackgroundPrintingManager* background_printing_manager(); |
93 virtual GoogleURLTracker* google_url_tracker(); | 93 virtual GoogleURLTracker* google_url_tracker(); |
94 virtual IntranetRedirectDetector* intranet_redirect_detector(); | 94 virtual IntranetRedirectDetector* intranet_redirect_detector(); |
95 virtual const std::string& GetApplicationLocale(); | 95 virtual const std::string& GetApplicationLocale(); |
96 virtual void SetApplicationLocale(const std::string& locale); | 96 virtual void SetApplicationLocale(const std::string& locale); |
97 virtual DownloadStatusUpdater* download_status_updater(); | 97 virtual DownloadStatusUpdater* download_status_updater(); |
98 virtual base::WaitableEvent* shutdown_event(); | 98 virtual base::WaitableEvent* shutdown_event(); |
99 virtual TabCloseableStateWatcher* tab_closeable_state_watcher(); | 99 virtual TabCloseableStateWatcher* tab_closeable_state_watcher(); |
100 virtual BackgroundModeManager* background_mode_manager(); | |
101 virtual StatusTray* status_tray(); | |
102 virtual safe_browsing::ClientSideDetectionService* | 100 virtual safe_browsing::ClientSideDetectionService* |
103 safe_browsing_detection_service(); | 101 safe_browsing_detection_service(); |
104 virtual bool plugin_finder_disabled() const; | 102 virtual bool plugin_finder_disabled() const; |
105 | 103 |
106 // NotificationObserver methods | 104 // NotificationObserver methods |
107 virtual void Observe(NotificationType type, | 105 virtual void Observe(NotificationType type, |
108 const NotificationSource& source, | 106 const NotificationSource& source, |
109 const NotificationDetails& details); | 107 const NotificationDetails& details); |
110 | 108 |
111 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS) | 109 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS) |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 void CreateDevToolsManager(); | 148 void CreateDevToolsManager(); |
151 void CreateSidebarManager(); | 149 void CreateSidebarManager(); |
152 void CreateGoogleURLTracker(); | 150 void CreateGoogleURLTracker(); |
153 void CreateIntranetRedirectDetector(); | 151 void CreateIntranetRedirectDetector(); |
154 void CreateNotificationUIManager(); | 152 void CreateNotificationUIManager(); |
155 void CreateStatusTrayManager(); | 153 void CreateStatusTrayManager(); |
156 void CreateTabCloseableStateWatcher(); | 154 void CreateTabCloseableStateWatcher(); |
157 void CreatePrintPreviewTabController(); | 155 void CreatePrintPreviewTabController(); |
158 void CreateBackgroundPrintingManager(); | 156 void CreateBackgroundPrintingManager(); |
159 void CreateSafeBrowsingDetectionService(); | 157 void CreateSafeBrowsingDetectionService(); |
160 void CreateStatusTray(); | |
161 void CreateBackgroundModeManager(); | |
162 | 158 |
163 bool IsSafeBrowsingDetectionServiceEnabled(); | 159 bool IsSafeBrowsingDetectionServiceEnabled(); |
164 | 160 |
165 void ApplyDisabledSchemesPolicy(); | 161 void ApplyDisabledSchemesPolicy(); |
166 | 162 |
167 #if defined(IPC_MESSAGE_LOG_ENABLED) | 163 #if defined(IPC_MESSAGE_LOG_ENABLED) |
168 void SetIPCLoggingEnabledForChildProcesses(bool enabled); | 164 void SetIPCLoggingEnabledForChildProcesses(bool enabled); |
169 #endif | 165 #endif |
170 | 166 |
171 bool created_resource_dispatcher_host_; | 167 bool created_resource_dispatcher_host_; |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
242 | 238 |
243 scoped_ptr<AutomationProviderList> automation_provider_list_; | 239 scoped_ptr<AutomationProviderList> automation_provider_list_; |
244 | 240 |
245 scoped_ptr<GoogleURLTracker> google_url_tracker_; | 241 scoped_ptr<GoogleURLTracker> google_url_tracker_; |
246 scoped_ptr<IntranetRedirectDetector> intranet_redirect_detector_; | 242 scoped_ptr<IntranetRedirectDetector> intranet_redirect_detector_; |
247 | 243 |
248 scoped_ptr<NotificationService> main_notification_service_; | 244 scoped_ptr<NotificationService> main_notification_service_; |
249 | 245 |
250 scoped_ptr<TabCloseableStateWatcher> tab_closeable_state_watcher_; | 246 scoped_ptr<TabCloseableStateWatcher> tab_closeable_state_watcher_; |
251 | 247 |
252 scoped_ptr<BackgroundModeManager> background_mode_manager_; | |
253 | |
254 scoped_ptr<StatusTray> status_tray_; | |
255 | |
256 bool created_safe_browsing_detection_service_; | 248 bool created_safe_browsing_detection_service_; |
257 scoped_ptr<safe_browsing::ClientSideDetectionService> | 249 scoped_ptr<safe_browsing::ClientSideDetectionService> |
258 safe_browsing_detection_service_; | 250 safe_browsing_detection_service_; |
259 | 251 |
260 unsigned int module_ref_count_; | 252 unsigned int module_ref_count_; |
261 bool did_start_; | 253 bool did_start_; |
262 | 254 |
263 // Ensures that all the print jobs are finished before closing the browser. | 255 // Ensures that all the print jobs are finished before closing the browser. |
264 scoped_ptr<printing::PrintJobManager> print_job_manager_; | 256 scoped_ptr<printing::PrintJobManager> print_job_manager_; |
265 | 257 |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
312 | 304 |
313 #if defined(OS_CHROMEOS) | 305 #if defined(OS_CHROMEOS) |
314 scoped_refptr<chromeos::ProxyConfigServiceImpl> | 306 scoped_refptr<chromeos::ProxyConfigServiceImpl> |
315 chromeos_proxy_config_service_impl_; | 307 chromeos_proxy_config_service_impl_; |
316 #endif | 308 #endif |
317 | 309 |
318 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); | 310 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); |
319 }; | 311 }; |
320 | 312 |
321 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ | 313 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ |
OLD | NEW |