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> |
(...skipping 30 matching lines...) Expand all Loading... |
41 class AudioRendererHost; | 41 class AudioRendererHost; |
42 class BrowserCdmManager; | 42 class BrowserCdmManager; |
43 class BrowserDemuxerAndroid; | 43 class BrowserDemuxerAndroid; |
44 class GpuMessageFilter; | 44 class GpuMessageFilter; |
45 class MessagePortMessageFilter; | 45 class MessagePortMessageFilter; |
46 class MojoApplicationHost; | 46 class MojoApplicationHost; |
47 class NotificationMessageFilter; | 47 class NotificationMessageFilter; |
48 #if defined(ENABLE_WEBRTC) | 48 #if defined(ENABLE_WEBRTC) |
49 class P2PSocketDispatcherHost; | 49 class P2PSocketDispatcherHost; |
50 #endif | 50 #endif |
| 51 class PermissionServiceContext; |
51 class PeerConnectionTrackerHost; | 52 class PeerConnectionTrackerHost; |
52 class RendererMainThread; | 53 class RendererMainThread; |
53 class RenderWidgetHelper; | 54 class RenderWidgetHelper; |
54 class RenderWidgetHost; | 55 class RenderWidgetHost; |
55 class RenderWidgetHostImpl; | 56 class RenderWidgetHostImpl; |
56 class RenderWidgetHostViewFrameSubscriber; | 57 class RenderWidgetHostViewFrameSubscriber; |
57 class StoragePartition; | 58 class StoragePartition; |
58 class StoragePartitionImpl; | 59 class StoragePartitionImpl; |
59 | 60 |
60 typedef base::Thread* (*RendererMainThreadFactoryFunction)( | 61 typedef base::Thread* (*RendererMainThreadFactoryFunction)( |
(...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
458 std::vector<int> aec_dump_consumers_; | 459 std::vector<int> aec_dump_consumers_; |
459 | 460 |
460 WebRtcStopRtpDumpCallback stop_rtp_dump_callback_; | 461 WebRtcStopRtpDumpCallback stop_rtp_dump_callback_; |
461 #endif | 462 #endif |
462 | 463 |
463 int worker_ref_count_; | 464 int worker_ref_count_; |
464 | 465 |
465 // Records the time when the process starts surviving for workers for UMA. | 466 // Records the time when the process starts surviving for workers for UMA. |
466 base::TimeTicks survive_for_worker_start_time_; | 467 base::TimeTicks survive_for_worker_start_time_; |
467 | 468 |
| 469 // Context shared for each PermissionService instance created for this RPH. |
| 470 scoped_ptr<PermissionServiceContext> permission_service_context_; |
| 471 |
468 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; | 472 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; |
469 | 473 |
470 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); | 474 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); |
471 }; | 475 }; |
472 | 476 |
473 } // namespace content | 477 } // namespace content |
474 | 478 |
475 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ | 479 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ |
OLD | NEW |