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_RENDER_PROCESS_HOST_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_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> |
11 | 11 |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "base/observer_list.h" | 13 #include "base/observer_list.h" |
14 #include "base/process/process.h" | 14 #include "base/process/process.h" |
15 #include "content/browser/child_process_launcher.h" | 15 #include "content/browser/child_process_launcher.h" |
16 #include "content/browser/dom_storage/session_storage_namespace_impl.h" | 16 #include "content/browser/dom_storage/session_storage_namespace_impl.h" |
17 #include "content/browser/power_monitor_message_broadcaster.h" | 17 #include "content/browser/power_monitor_message_broadcaster.h" |
18 #include "content/common/content_export.h" | 18 #include "content/common/content_export.h" |
19 #include "content/common/mojo/service_registry_impl.h" | 19 #include "content/common/mojo/service_registry_impl.h" |
20 #include "content/public/browser/render_process_host.h" | 20 #include "content/public/browser/render_process_host.h" |
21 #include "ipc/ipc_channel_proxy.h" | 21 #include "ipc/ipc_channel_proxy.h" |
22 #include "ipc/ipc_platform_file.h" | 22 #include "ipc/ipc_platform_file.h" |
23 #include "third_party/mojo/src/mojo/public/cpp/bindings/interface_ptr.h" | 23 #include "third_party/mojo/src/mojo/public/cpp/bindings/interface_ptr.h" |
24 #include "ui/gfx/gpu_memory_buffer.h" | 24 #include "ui/gfx/gpu_memory_buffer.h" |
25 #include "ui/gl/gpu_switching_observer.h" | 25 #include "ui/gl/gpu_switching_observer.h" |
26 | 26 |
| 27 #if defined(OS_WIN) |
| 28 namespace base { |
| 29 class SharedMemory; |
| 30 } |
| 31 #endif |
| 32 |
27 namespace base { | 33 namespace base { |
28 class CommandLine; | 34 class CommandLine; |
29 class MessageLoop; | 35 class MessageLoop; |
30 } | 36 } |
31 | 37 |
32 namespace gfx { | 38 namespace gfx { |
33 class Size; | 39 class Size; |
34 } | 40 } |
35 | 41 |
36 namespace gpu { | 42 namespace gpu { |
(...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
469 base::Callback<void(const std::string&)> webrtc_log_message_callback_; | 475 base::Callback<void(const std::string&)> webrtc_log_message_callback_; |
470 | 476 |
471 scoped_refptr<P2PSocketDispatcherHost> p2p_socket_dispatcher_host_; | 477 scoped_refptr<P2PSocketDispatcherHost> p2p_socket_dispatcher_host_; |
472 | 478 |
473 // Must be accessed on UI thread. | 479 // Must be accessed on UI thread. |
474 std::vector<int> aec_dump_consumers_; | 480 std::vector<int> aec_dump_consumers_; |
475 | 481 |
476 WebRtcStopRtpDumpCallback stop_rtp_dump_callback_; | 482 WebRtcStopRtpDumpCallback stop_rtp_dump_callback_; |
477 #endif | 483 #endif |
478 | 484 |
| 485 #if defined(OS_WIN) |
| 486 base::SharedMemory direct_write_font_cache_section_; |
| 487 #endif |
| 488 |
479 int worker_ref_count_; | 489 int worker_ref_count_; |
480 | 490 |
481 // Records the time when the process starts surviving for workers for UMA. | 491 // Records the time when the process starts surviving for workers for UMA. |
482 base::TimeTicks survive_for_worker_start_time_; | 492 base::TimeTicks survive_for_worker_start_time_; |
483 | 493 |
484 // Records the maximum # of workers simultaneously hosted in this process | 494 // Records the maximum # of workers simultaneously hosted in this process |
485 // for UMA. | 495 // for UMA. |
486 int max_worker_count_; | 496 int max_worker_count_; |
487 | 497 |
488 // Context shared for each PermissionService instance created for this RPH. | 498 // Context shared for each PermissionService instance created for this RPH. |
(...skipping 14 matching lines...) Expand all Loading... |
503 bool subscribe_uniform_enabled_; | 513 bool subscribe_uniform_enabled_; |
504 | 514 |
505 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; | 515 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; |
506 | 516 |
507 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); | 517 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); |
508 }; | 518 }; |
509 | 519 |
510 } // namespace content | 520 } // namespace content |
511 | 521 |
512 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ | 522 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ |
OLD | NEW |