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 #ifndef CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <queue> | 9 #include <queue> |
10 #include <string> | 10 #include <string> |
(...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
424 | 424 |
425 #if defined(ENABLE_WEBRTC) | 425 #if defined(ENABLE_WEBRTC) |
426 base::Callback<void(const std::string&)> webrtc_log_message_callback_; | 426 base::Callback<void(const std::string&)> webrtc_log_message_callback_; |
427 #endif | 427 #endif |
428 | 428 |
429 // Message filter and dispatcher for screen orientation. | 429 // Message filter and dispatcher for screen orientation. |
430 ScreenOrientationDispatcherHost* screen_orientation_dispatcher_host_; | 430 ScreenOrientationDispatcherHost* screen_orientation_dispatcher_host_; |
431 | 431 |
432 int worker_ref_count_; | 432 int worker_ref_count_; |
433 | 433 |
| 434 // Records the time when the process starts surviving for workers for UMA. |
| 435 base::TimeTicks survive_for_worker_start_time_; |
| 436 |
434 #if defined(USE_MOJO) | 437 #if defined(USE_MOJO) |
435 scoped_ptr<MojoChannelInit> mojo_channel_init_; | 438 scoped_ptr<MojoChannelInit> mojo_channel_init_; |
436 #endif | 439 #endif |
437 | 440 |
438 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; | 441 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; |
439 | 442 |
440 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); | 443 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); |
441 }; | 444 }; |
442 | 445 |
443 } // namespace content | 446 } // namespace content |
444 | 447 |
445 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ | 448 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ |
OLD | NEW |