OLD | NEW |
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 // 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 virtual BrowserProcessPlatformPart* platform_part() OVERRIDE; | 82 virtual BrowserProcessPlatformPart* platform_part() OVERRIDE; |
83 virtual extensions::EventRouterForwarder* | 83 virtual extensions::EventRouterForwarder* |
84 extension_event_router_forwarder() OVERRIDE; | 84 extension_event_router_forwarder() OVERRIDE; |
85 virtual NotificationUIManager* notification_ui_manager() OVERRIDE; | 85 virtual NotificationUIManager* notification_ui_manager() OVERRIDE; |
86 virtual message_center::MessageCenter* message_center() OVERRIDE; | 86 virtual message_center::MessageCenter* message_center() OVERRIDE; |
87 virtual policy::BrowserPolicyConnector* browser_policy_connector() OVERRIDE; | 87 virtual policy::BrowserPolicyConnector* browser_policy_connector() OVERRIDE; |
88 virtual policy::PolicyService* policy_service() OVERRIDE; | 88 virtual policy::PolicyService* policy_service() OVERRIDE; |
89 virtual IconManager* icon_manager() OVERRIDE; | 89 virtual IconManager* icon_manager() OVERRIDE; |
90 virtual GLStringManager* gl_string_manager() OVERRIDE; | 90 virtual GLStringManager* gl_string_manager() OVERRIDE; |
91 virtual GpuModeManager* gpu_mode_manager() OVERRIDE; | 91 virtual GpuModeManager* gpu_mode_manager() OVERRIDE; |
92 virtual RenderWidgetSnapshotTaker* GetRenderWidgetSnapshotTaker() OVERRIDE; | |
93 virtual AutomationProviderList* GetAutomationProviderList() OVERRIDE; | 92 virtual AutomationProviderList* GetAutomationProviderList() OVERRIDE; |
94 virtual void CreateDevToolsHttpProtocolHandler( | 93 virtual void CreateDevToolsHttpProtocolHandler( |
95 chrome::HostDesktopType host_desktop_type, | 94 chrome::HostDesktopType host_desktop_type, |
96 const std::string& ip, | 95 const std::string& ip, |
97 int port, | 96 int port, |
98 const std::string& frontend_url) OVERRIDE; | 97 const std::string& frontend_url) OVERRIDE; |
99 virtual unsigned int AddRefModule() OVERRIDE; | 98 virtual unsigned int AddRefModule() OVERRIDE; |
100 virtual unsigned int ReleaseModule() OVERRIDE; | 99 virtual unsigned int ReleaseModule() OVERRIDE; |
101 virtual bool IsShuttingDown() OVERRIDE; | 100 virtual bool IsShuttingDown() OVERRIDE; |
102 virtual printing::PrintJobManager* print_job_manager() OVERRIDE; | 101 virtual printing::PrintJobManager* print_job_manager() OVERRIDE; |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 scoped_refptr<SafeBrowsingService> safe_browsing_service_; | 233 scoped_refptr<SafeBrowsingService> safe_browsing_service_; |
235 | 234 |
236 unsigned int module_ref_count_; | 235 unsigned int module_ref_count_; |
237 bool did_start_; | 236 bool did_start_; |
238 | 237 |
239 // Ensures that all the print jobs are finished before closing the browser. | 238 // Ensures that all the print jobs are finished before closing the browser. |
240 scoped_ptr<printing::PrintJobManager> print_job_manager_; | 239 scoped_ptr<printing::PrintJobManager> print_job_manager_; |
241 | 240 |
242 std::string locale_; | 241 std::string locale_; |
243 | 242 |
244 // This service just sits around and makes snapshots for renderers. It does | |
245 // nothing in the constructor so we don't have to worry about lazy init. | |
246 scoped_ptr<RenderWidgetSnapshotTaker> render_widget_snapshot_taker_; | |
247 | |
248 // Download status updates (like a changing application icon on dock/taskbar) | 243 // Download status updates (like a changing application icon on dock/taskbar) |
249 // are global per-application. DownloadStatusUpdater does no work in the ctor | 244 // are global per-application. DownloadStatusUpdater does no work in the ctor |
250 // so we don't have to worry about lazy initialization. | 245 // so we don't have to worry about lazy initialization. |
251 scoped_ptr<DownloadStatusUpdater> download_status_updater_; | 246 scoped_ptr<DownloadStatusUpdater> download_status_updater_; |
252 | 247 |
253 scoped_refptr<DownloadRequestLimiter> download_request_limiter_; | 248 scoped_refptr<DownloadRequestLimiter> download_request_limiter_; |
254 | 249 |
255 // Sequenced task runner for local state related I/O tasks. | 250 // Sequenced task runner for local state related I/O tasks. |
256 const scoped_refptr<base::SequencedTaskRunner> local_state_task_runner_; | 251 const scoped_refptr<base::SequencedTaskRunner> local_state_task_runner_; |
257 | 252 |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
301 | 296 |
302 #if defined(ENABLE_WEBRTC) | 297 #if defined(ENABLE_WEBRTC) |
303 // Lazily initialized. | 298 // Lazily initialized. |
304 scoped_ptr<WebRtcLogUploader> webrtc_log_uploader_; | 299 scoped_ptr<WebRtcLogUploader> webrtc_log_uploader_; |
305 #endif | 300 #endif |
306 | 301 |
307 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); | 302 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); |
308 }; | 303 }; |
309 | 304 |
310 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ | 305 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ |
OLD | NEW |