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 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 scoped_refptr<SafeBrowsingService> safe_browsing_service_; | 234 scoped_refptr<SafeBrowsingService> safe_browsing_service_; |
235 | 235 |
236 unsigned int module_ref_count_; | 236 unsigned int module_ref_count_; |
237 bool did_start_; | 237 bool did_start_; |
238 | 238 |
239 // Ensures that all the print jobs are finished before closing the browser. | 239 // Ensures that all the print jobs are finished before closing the browser. |
240 scoped_ptr<printing::PrintJobManager> print_job_manager_; | 240 scoped_ptr<printing::PrintJobManager> print_job_manager_; |
241 | 241 |
242 std::string locale_; | 242 std::string locale_; |
243 | 243 |
244 bool checked_for_new_frames_; | |
245 bool using_new_frames_; | |
246 | |
247 // This service just sits around and makes snapshots for renderers. It does | 244 // This service just sits around and makes snapshots for renderers. It does |
248 // nothing in the constructor so we don't have to worry about lazy init. | 245 // nothing in the constructor so we don't have to worry about lazy init. |
249 scoped_ptr<RenderWidgetSnapshotTaker> render_widget_snapshot_taker_; | 246 scoped_ptr<RenderWidgetSnapshotTaker> render_widget_snapshot_taker_; |
250 | 247 |
251 // Download status updates (like a changing application icon on dock/taskbar) | 248 // Download status updates (like a changing application icon on dock/taskbar) |
252 // are global per-application. DownloadStatusUpdater does no work in the ctor | 249 // are global per-application. DownloadStatusUpdater does no work in the ctor |
253 // so we don't have to worry about lazy initialization. | 250 // so we don't have to worry about lazy initialization. |
254 scoped_ptr<DownloadStatusUpdater> download_status_updater_; | 251 scoped_ptr<DownloadStatusUpdater> download_status_updater_; |
255 | 252 |
256 scoped_refptr<DownloadRequestLimiter> download_request_limiter_; | 253 scoped_refptr<DownloadRequestLimiter> download_request_limiter_; |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
304 | 301 |
305 #if defined(ENABLE_WEBRTC) | 302 #if defined(ENABLE_WEBRTC) |
306 // Lazily initialized. | 303 // Lazily initialized. |
307 scoped_ptr<WebRtcLogUploader> webrtc_log_uploader_; | 304 scoped_ptr<WebRtcLogUploader> webrtc_log_uploader_; |
308 #endif | 305 #endif |
309 | 306 |
310 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); | 307 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); |
311 }; | 308 }; |
312 | 309 |
313 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ | 310 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ |
OLD | NEW |