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
3 // found in the LICENSE file.
5 #ifndef CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
12 #include "base/cancelable_callback.h"
13 #include "base/memory/memory_pressure_listener.h"
14 #include "base/memory/ref_counted.h"
15 #include "base/metrics/user_metrics_action.h"
16 #include "base/observer_list.h"
17 #include "base/strings/string16.h"
18 #include "base/threading/thread_checker.h"
19 #include "base/timer/timer.h"
20 #include "build/build_config.h"
21 #include "content/child/child_thread_impl.h"
22 #include "content/common/content_export.h"
23 #include "content/common/frame_replication_state.h"
24 #include "content/common/gpu/client/gpu_channel_host.h"
25 #include "content/common/gpu/gpu_result_codes.h"
26 #include "content/public/renderer/render_thread.h"
27 #include "content/renderer/gpu/compositor_dependencies.h"
28 #include "net/base/network_change_notifier.h"
29 #include "third_party/WebKit/public/platform/WebConnectionType.h"
30 #include "ui/gfx/native_widget_types.h"
32 #if defined(OS_MACOSX)
33 #include "third_party/WebKit/public/web/mac/WebScrollbarTheme.h"
38 struct FrameMsg_NewFrame_WidgetParams
;
39 struct ViewMsg_New_Params
;
40 struct WorkerProcessMsg_CreateWorker_Params
;
44 class WebGraphicsContext3D
;
45 class WebMediaStreamCenter
;
46 class WebMediaStreamCenterClient
;
50 class MessageLoopProxy
;
51 class SingleThreadTaskRunner
;
56 class ContextProvider
;
60 class ContextProviderWebContext
;
68 class AudioHardwareConfig
;
69 class GpuVideoAcceleratorFactories
;
78 class AppCacheDispatcher
;
79 class AecDumpMessageFilter
;
80 class AudioInputMessageFilter
;
81 class AudioMessageFilter
;
82 class AudioRendererMixerManager
;
83 class BrowserPluginManager
;
84 class CompositorForwardingMessageFilter
;
85 class ContextProviderCommandBuffer
;
86 class DBMessageFilter
;
87 class DevToolsAgentFilter
;
88 class DomStorageDispatcher
;
89 class EmbeddedWorkerDispatcher
;
91 class IndexedDBDispatcher
;
92 class InputHandlerManager
;
93 class MediaStreamCenter
;
95 class PeerConnectionDependencyFactory
;
96 class MidiMessageFilter
;
97 class NetInfoDispatcher
;
98 class P2PSocketDispatcher
;
99 class PeerConnectionTracker
;
100 class RenderProcessObserver
;
101 class RendererBlinkPlatformImpl
;
102 class RendererDemuxerAndroid
;
103 class RendererScheduler
;
104 class ResourceSchedulingFilter
;
105 class V8SamplingProfiler
;
106 class VideoCaptureImplManager
;
107 class WebGraphicsContext3DCommandBufferImpl
;
108 class WebRTCIdentityService
;
110 #if defined(COMPILER_MSVC)
111 // See explanation for other RenderViewHostImpl which is the same issue.
112 #pragma warning(push)
113 #pragma warning(disable: 4250)
116 // The RenderThreadImpl class represents a background thread where RenderView
117 // instances live. The RenderThread supports an API that is used by its
118 // consumer to talk indirectly to the RenderViews and supporting objects.
119 // Likewise, it provides an API for the RenderViews to talk back to the main
120 // process (i.e., their corresponding WebContentsImpl).
122 // Most of the communication occurs in the form of IPC messages. They are
123 // routed to the RenderThread according to the routing IDs of the messages.
124 // The routing IDs correspond to RenderView instances.
125 class CONTENT_EXPORT RenderThreadImpl
126 : public RenderThread
,
127 public ChildThreadImpl
,
128 public GpuChannelHostFactory
,
129 NON_EXPORTED_BASE(public CompositorDependencies
) {
131 static RenderThreadImpl
* current();
134 // Constructor that's used when running in single process mode.
135 explicit RenderThreadImpl(const std::string
& channel_name
);
136 // Constructor that's used in RendererMain.
137 explicit RenderThreadImpl(scoped_ptr
<base::MessageLoop
> main_message_loop
);
138 ~RenderThreadImpl() override
;
139 void Shutdown() override
;
141 // When initializing WebKit, ensure that any schemes needed for the content
142 // module are registered properly. Static to allow sharing with tests.
143 static void RegisterSchemes();
145 // Notify V8 that the date/time configuration of the system might have
147 static void NotifyTimezoneChange();
149 // RenderThread implementation:
150 bool Send(IPC::Message
* msg
) override
;
151 scoped_refptr
<base::SingleThreadTaskRunner
> GetTaskRunner() override
;
152 IPC::SyncChannel
* GetChannel() override
;
153 std::string
GetLocale() override
;
154 IPC::SyncMessageFilter
* GetSyncMessageFilter() override
;
155 scoped_refptr
<base::MessageLoopProxy
> GetIOMessageLoopProxy() override
;
156 void AddRoute(int32 routing_id
, IPC::Listener
* listener
) override
;
157 void RemoveRoute(int32 routing_id
) override
;
158 int GenerateRoutingID() override
;
159 void AddFilter(IPC::MessageFilter
* filter
) override
;
160 void RemoveFilter(IPC::MessageFilter
* filter
) override
;
161 void AddObserver(RenderProcessObserver
* observer
) override
;
162 void RemoveObserver(RenderProcessObserver
* observer
) override
;
163 void SetResourceDispatcherDelegate(
164 ResourceDispatcherDelegate
* delegate
) override
;
165 void EnsureWebKitInitialized() override
;
166 void RecordAction(const base::UserMetricsAction
& action
) override
;
167 void RecordComputedAction(const std::string
& action
) override
;
168 scoped_ptr
<base::SharedMemory
> HostAllocateSharedMemoryBuffer(
169 size_t buffer_size
) override
;
170 cc::SharedBitmapManager
* GetSharedBitmapManager() override
;
171 void RegisterExtension(v8::Extension
* extension
) override
;
172 void ScheduleIdleHandler(int64 initial_delay_ms
) override
;
173 void IdleHandler() override
;
174 int64
GetIdleNotificationDelayInMs() const override
;
175 void SetIdleNotificationDelayInMs(
176 int64 idle_notification_delay_in_ms
) override
;
177 void UpdateHistograms(int sequence_number
) override
;
178 int PostTaskToAllWebWorkers(const base::Closure
& closure
) override
;
179 bool ResolveProxy(const GURL
& url
, std::string
* proxy_list
) override
;
180 base::WaitableEvent
* GetShutdownEvent() override
;
181 ServiceRegistry
* GetServiceRegistry() override
;
183 // CompositorDependencies implementation.
184 bool IsImplSidePaintingEnabled() override
;
185 bool IsGpuRasterizationForced() override
;
186 bool IsGpuRasterizationEnabled() override
;
187 bool IsThreadedGpuRasterizationEnabled() override
;
188 int GetGpuRasterizationMSAASampleCount() override
;
189 bool IsLcdTextEnabled() override
;
190 bool IsDistanceFieldTextEnabled() override
;
191 bool IsZeroCopyEnabled() override
;
192 bool IsOneCopyEnabled() override
;
193 bool IsElasticOverscrollEnabled() override
;
194 bool UseSingleThreadScheduler() override
;
195 uint32
GetImageTextureTarget() override
;
196 scoped_refptr
<base::SingleThreadTaskRunner
>
197 GetCompositorMainThreadTaskRunner() override
;
198 scoped_refptr
<base::SingleThreadTaskRunner
>
199 GetCompositorImplThreadTaskRunner() override
;
200 gpu::GpuMemoryBufferManager
* GetGpuMemoryBufferManager() override
;
201 RendererScheduler
* GetRendererScheduler() override
;
202 cc::ContextProvider
* GetSharedMainThreadContextProvider() override
;
203 scoped_ptr
<cc::BeginFrameSource
> CreateExternalBeginFrameSource(
204 int routing_id
) override
;
206 // Synchronously establish a channel to the GPU plugin if not previously
207 // established or if it has been lost (for example if the GPU plugin crashed).
208 // If there is a pending asynchronous request, it will be completed by the
209 // time this routine returns.
210 GpuChannelHost
* EstablishGpuChannelSync(CauseForGpuLaunch
);
213 // These methods modify how the next message is sent. Normally, when sending
214 // a synchronous message that runs a nested message loop, we need to suspend
215 // callbacks into WebKit. This involves disabling timers and deferring
216 // resource loads. However, there are exceptions when we need to customize
218 void DoNotSuspendWebKitSharedTimer();
219 void DoNotNotifyWebKitOfModalLoop();
221 // True if we are running layout tests. This currently disables forwarding
222 // various status messages to the console, skips network error pages, and
223 // short circuits size update and focus events.
224 bool layout_test_mode() const {
225 return layout_test_mode_
;
227 void set_layout_test_mode(bool layout_test_mode
) {
228 layout_test_mode_
= layout_test_mode
;
231 RendererBlinkPlatformImpl
* blink_platform_impl() const {
232 DCHECK(blink_platform_impl_
);
233 return blink_platform_impl_
.get();
236 CompositorForwardingMessageFilter
* compositor_message_filter() const {
237 return compositor_message_filter_
.get();
240 InputHandlerManager
* input_handler_manager() const {
241 return input_handler_manager_
.get();
244 // Will be null if threaded compositing has not been enabled.
245 scoped_refptr
<base::MessageLoopProxy
> compositor_message_loop_proxy() const {
246 return compositor_message_loop_proxy_
;
249 AppCacheDispatcher
* appcache_dispatcher() const {
250 return appcache_dispatcher_
.get();
253 DomStorageDispatcher
* dom_storage_dispatcher() const {
254 return dom_storage_dispatcher_
.get();
257 EmbeddedWorkerDispatcher
* embedded_worker_dispatcher() const {
258 return embedded_worker_dispatcher_
.get();
261 AudioInputMessageFilter
* audio_input_message_filter() {
262 return audio_input_message_filter_
.get();
265 AudioMessageFilter
* audio_message_filter() {
266 return audio_message_filter_
.get();
269 MidiMessageFilter
* midi_message_filter() {
270 return midi_message_filter_
.get();
273 #if defined(OS_ANDROID)
274 RendererDemuxerAndroid
* renderer_demuxer() {
275 return renderer_demuxer_
.get();
279 // Creates the embedder implementation of WebMediaStreamCenter.
280 // The resulting object is owned by WebKit and deleted by WebKit at tear-down.
281 blink::WebMediaStreamCenter
* CreateMediaStreamCenter(
282 blink::WebMediaStreamCenterClient
* client
);
284 BrowserPluginManager
* browser_plugin_manager() const {
285 return browser_plugin_manager_
.get();
288 #if defined(ENABLE_WEBRTC)
289 // Returns a factory used for creating RTC PeerConnection objects.
290 PeerConnectionDependencyFactory
* GetPeerConnectionDependencyFactory();
292 PeerConnectionTracker
* peer_connection_tracker() {
293 return peer_connection_tracker_
.get();
296 // Current P2PSocketDispatcher. Set to NULL if P2P API is disabled.
297 P2PSocketDispatcher
* p2p_socket_dispatcher() {
298 return p2p_socket_dispatcher_
.get();
302 VideoCaptureImplManager
* video_capture_impl_manager() const {
303 return vc_manager_
.get();
306 // Get the GPU channel. Returns NULL if the channel is not established or
308 GpuChannelHost
* GetGpuChannel();
310 // Returns a MessageLoopProxy instance corresponding to the message loop
311 // of the thread on which file operations should be run. Must be called
312 // on the renderer's main thread.
313 scoped_refptr
<base::MessageLoopProxy
> GetFileThreadMessageLoopProxy();
315 // Returns a SingleThreadTaskRunner instance corresponding to the message loop
316 // of the thread on which media operations should be run. Must be called
317 // on the renderer's main thread.
318 scoped_refptr
<base::SingleThreadTaskRunner
> GetMediaThreadTaskRunner();
320 // Causes the idle handler to skip sending idle notifications
321 // on the two next scheduled calls, so idle notifications are
322 // not sent for at least one notification delay.
323 void PostponeIdleNotification();
325 scoped_refptr
<media::GpuVideoAcceleratorFactories
> GetGpuFactories();
327 scoped_refptr
<cc_blink::ContextProviderWebContext
>
328 SharedMainThreadContextProvider();
330 // AudioRendererMixerManager instance which manages renderer side mixer
331 // instances shared based on configured audio parameters. Lazily created on
333 AudioRendererMixerManager
* GetAudioRendererMixerManager();
335 // AudioHardwareConfig contains audio hardware configuration for
336 // renderer side clients. Creation requires a synchronous IPC call so it is
337 // lazily created on the first call.
338 media::AudioHardwareConfig
* GetAudioHardwareConfig();
341 void PreCacheFontCharacters(const LOGFONT
& log_font
,
342 const base::string16
& str
);
345 #if defined(ENABLE_WEBRTC)
346 WebRTCIdentityService
* get_webrtc_identity_service() {
347 return webrtc_identity_service_
.get();
351 // For producing custom V8 histograms. Custom histograms are produced if all
352 // RenderViews share the same host, and the host is in the pre-specified set
353 // of hosts we want to produce custom diagrams for. The name for a custom
354 // diagram is the name of the corresponding generic diagram plus a
355 // host-specific suffix.
356 class CONTENT_EXPORT HistogramCustomizer
{
358 HistogramCustomizer();
359 ~HistogramCustomizer();
361 // Called when a top frame of a RenderView navigates. This function updates
362 // RenderThreadImpl's information about whether all RenderViews are
363 // displaying a page from the same host. |host| is the host where a
364 // RenderView navigated, and |view_count| is the number of RenderViews in
366 void RenderViewNavigatedToHost(const std::string
& host
, size_t view_count
);
368 // Used for customizing some histograms if all RenderViews share the same
369 // host. Returns the current custom histogram name to use for
370 // |histogram_name|, or |histogram_name| if it shouldn't be customized.
371 std::string
ConvertToCustomHistogramName(const char* histogram_name
) const;
374 friend class RenderThreadImplUnittest
;
376 // Used for updating the information on which is the common host which all
377 // RenderView's share (if any). If there is no common host, this function is
378 // called with an empty string.
379 void SetCommonHost(const std::string
& host
);
381 // The current common host of the RenderViews; empty string if there is no
383 std::string common_host_
;
384 // The corresponding suffix.
385 std::string common_host_histogram_suffix_
;
386 // Set of histograms for which we want to produce a custom histogram if
388 std::set
<std::string
> custom_histograms_
;
390 DISALLOW_COPY_AND_ASSIGN(HistogramCustomizer
);
393 HistogramCustomizer
* histogram_customizer() {
394 return &histogram_customizer_
;
397 // Retrieve current gamepad data.
398 void SampleGamepads(blink::WebGamepads
* data
);
400 // Called by a RenderWidget when it is created or destroyed. This
401 // allows the process to know when there are no visible widgets.
402 void WidgetCreated();
403 void WidgetDestroyed();
405 void WidgetRestored();
407 void AddEmbeddedWorkerRoute(int32 routing_id
, IPC::Listener
* listener
);
408 void RemoveEmbeddedWorkerRoute(int32 routing_id
);
410 void RegisterPendingRenderFrameConnect(
412 mojo::InterfaceRequest
<mojo::ServiceProvider
> services
,
413 mojo::ServiceProviderPtr exposed_services
);
416 virtual void SetResourceDispatchTaskQueue(
417 const scoped_refptr
<base::SingleThreadTaskRunner
>& resource_task_queue
);
421 bool OnControlMessageReceived(const IPC::Message
& msg
) override
;
423 // GpuChannelHostFactory implementation:
424 bool IsMainThread() override
;
425 base::MessageLoop
* GetMainLoop() override
;
426 scoped_refptr
<base::MessageLoopProxy
> GetIOLoopProxy() override
;
427 scoped_ptr
<base::SharedMemory
> AllocateSharedMemory(size_t size
) override
;
428 CreateCommandBufferResult
CreateViewCommandBuffer(
430 const GPUCreateCommandBufferConfig
& init_params
,
431 int32 route_id
) override
;
435 void OnCreateNewFrame(int routing_id
,
436 int parent_routing_id
,
437 int proxy_routing_id
,
438 const FrameReplicationState
& replicated_state
,
439 FrameMsg_NewFrame_WidgetParams params
);
440 void OnCreateNewFrameProxy(int routing_id
,
441 int parent_routing_id
,
442 int render_view_routing_id
,
443 const FrameReplicationState
& replicated_state
);
444 void OnSetZoomLevelForCurrentURL(const std::string
& scheme
,
445 const std::string
& host
,
447 void OnCreateNewView(const ViewMsg_New_Params
& params
);
448 void OnTransferBitmap(const SkBitmap
& bitmap
, int resource_id
);
449 #if defined(ENABLE_PLUGINS)
450 void OnPurgePluginListCache(bool reload_pages
);
452 void OnNetworkTypeChanged(net::NetworkChangeNotifier::ConnectionType type
);
453 void OnGetAccessibilityTree();
454 void OnTempCrashWithData(const GURL
& data
);
455 void OnUpdateTimezone();
456 void OnMemoryPressure(
457 base::MemoryPressureListener::MemoryPressureLevel memory_pressure_level
);
458 #if defined(OS_ANDROID)
459 void OnSetWebKitSharedTimersSuspended(bool suspend
);
461 #if defined(OS_MACOSX)
462 void OnUpdateScrollbarTheme(float initial_button_delay
,
463 float autoscroll_button_delay
,
464 bool jump_on_track_click
,
465 blink::ScrollerStyle preferred_scroller_style
,
468 void OnCreateNewSharedWorker(
469 const WorkerProcessMsg_CreateWorker_Params
& params
);
471 scoped_ptr
<WebGraphicsContext3DCommandBufferImpl
> CreateOffscreenContext3d();
473 // These objects live solely on the render thread.
474 scoped_ptr
<AppCacheDispatcher
> appcache_dispatcher_
;
475 scoped_ptr
<DomStorageDispatcher
> dom_storage_dispatcher_
;
476 scoped_ptr
<IndexedDBDispatcher
> main_thread_indexed_db_dispatcher_
;
477 scoped_ptr
<RendererScheduler
> renderer_scheduler_
;
478 scoped_ptr
<RendererBlinkPlatformImpl
> blink_platform_impl_
;
479 scoped_ptr
<EmbeddedWorkerDispatcher
> embedded_worker_dispatcher_
;
481 // Used on the render thread and deleted by WebKit at shutdown.
482 blink::WebMediaStreamCenter
* media_stream_center_
;
484 // Used on the renderer and IPC threads.
485 scoped_refptr
<DBMessageFilter
> db_message_filter_
;
486 scoped_refptr
<AudioInputMessageFilter
> audio_input_message_filter_
;
487 scoped_refptr
<AudioMessageFilter
> audio_message_filter_
;
488 scoped_refptr
<MidiMessageFilter
> midi_message_filter_
;
489 #if defined(OS_ANDROID)
490 scoped_refptr
<RendererDemuxerAndroid
> renderer_demuxer_
;
492 scoped_refptr
<DevToolsAgentFilter
> devtools_agent_message_filter_
;
493 scoped_ptr
<V8SamplingProfiler
> v8_sampling_profiler_
;
495 scoped_ptr
<BrowserPluginManager
> browser_plugin_manager_
;
497 #if defined(ENABLE_WEBRTC)
498 scoped_ptr
<PeerConnectionDependencyFactory
> peer_connection_factory_
;
500 // This is used to communicate to the browser process the status
501 // of all the peer connections created in the renderer.
502 scoped_ptr
<PeerConnectionTracker
> peer_connection_tracker_
;
504 // Dispatches all P2P sockets.
505 scoped_refptr
<P2PSocketDispatcher
> p2p_socket_dispatcher_
;
508 // Used on the render thread.
509 scoped_ptr
<VideoCaptureImplManager
> vc_manager_
;
511 // Used for communicating registering AEC dump consumers with the browser and
512 // receving AEC dump file handles when AEC dump is enabled. An AEC dump is
513 // diagnostic audio data for WebRTC stored locally when enabled by the user in
514 // chrome://webrtc-internals.
515 scoped_refptr
<AecDumpMessageFilter
> aec_dump_message_filter_
;
517 // The count of RenderWidgets running through this thread.
520 // The count of hidden RenderWidgets running through this thread.
521 int hidden_widget_count_
;
523 // The current value of the idle notification timer delay.
524 int64 idle_notification_delay_in_ms_
;
526 // The number of idle handler calls that skip sending idle notifications.
527 int idle_notifications_to_skip_
;
529 bool suspend_webkit_shared_timer_
;
530 bool notify_webkit_of_modal_loop_
;
531 bool webkit_shared_timer_suspended_
;
533 // The following flag is used to control layout test specific behavior.
534 bool layout_test_mode_
;
536 // Timer that periodically calls IdleHandler.
537 base::RepeatingTimer
<RenderThreadImpl
> idle_timer_
;
539 // The channel from the renderer process to the GPU process.
540 scoped_refptr
<GpuChannelHost
> gpu_channel_
;
542 // Cache of variables that are needed on the compositor thread by
543 // GpuChannelHostFactory methods.
544 scoped_refptr
<base::MessageLoopProxy
> io_message_loop_proxy_
;
546 // The message loop of the renderer main thread.
547 // This message loop should be destructed before the RenderThreadImpl
549 scoped_ptr
<base::MessageLoop
> main_message_loop_
;
551 // A lazily initiated thread on which file operations are run.
552 scoped_ptr
<base::Thread
> file_thread_
;
554 // May be null if overridden by ContentRendererClient.
555 scoped_ptr
<base::Thread
> compositor_thread_
;
557 // Thread for running multimedia operations (e.g., video decoding).
558 scoped_ptr
<base::Thread
> media_thread_
;
560 // Will point to appropriate MessageLoopProxy after initialization,
561 // regardless of whether |compositor_thread_| is overriden.
562 scoped_refptr
<base::MessageLoopProxy
> compositor_message_loop_proxy_
;
564 base::CancelableCallback
<void(const IPC::Message
&)> main_input_callback_
;
565 scoped_refptr
<IPC::MessageFilter
> input_event_filter_
;
566 scoped_ptr
<InputHandlerManager
> input_handler_manager_
;
567 scoped_refptr
<CompositorForwardingMessageFilter
> compositor_message_filter_
;
569 scoped_refptr
<cc_blink::ContextProviderWebContext
>
570 shared_main_thread_contexts_
;
572 ObserverList
<RenderProcessObserver
> observers_
;
574 scoped_refptr
<ContextProviderCommandBuffer
> gpu_va_context_provider_
;
576 scoped_ptr
<AudioRendererMixerManager
> audio_renderer_mixer_manager_
;
577 scoped_ptr
<media::AudioHardwareConfig
> audio_hardware_config_
;
579 HistogramCustomizer histogram_customizer_
;
581 scoped_ptr
<base::MemoryPressureListener
> memory_pressure_listener_
;
583 #if defined(ENABLE_WEBRTC)
584 scoped_ptr
<WebRTCIdentityService
> webrtc_identity_service_
;
587 scoped_ptr
<MemoryObserver
> memory_observer_
;
589 scoped_refptr
<base::SingleThreadTaskRunner
>
590 main_thread_compositor_task_runner_
;
592 scoped_refptr
<ResourceSchedulingFilter
> resource_scheduling_filter_
;
594 // Compositor settings.
595 bool is_gpu_rasterization_enabled_
;
596 bool is_gpu_rasterization_forced_
;
597 int gpu_rasterization_msaa_sample_count_
;
598 bool is_threaded_gpu_rasterization_enabled_
;
599 bool is_impl_side_painting_enabled_
;
600 bool is_lcd_text_enabled_
;
601 bool is_distance_field_text_enabled_
;
602 bool is_zero_copy_enabled_
;
603 bool is_one_copy_enabled_
;
604 bool is_elastic_overscroll_enabled_
;
605 unsigned use_image_texture_target_
;
607 struct PendingRenderFrameConnect
608 : public base::RefCounted
<PendingRenderFrameConnect
> {
609 PendingRenderFrameConnect(
610 mojo::InterfaceRequest
<mojo::ServiceProvider
> services
,
611 mojo::ServiceProviderPtr exposed_services
);
613 mojo::InterfaceRequest
<mojo::ServiceProvider
> services
;
614 mojo::ServiceProviderPtr exposed_services
;
617 friend class base::RefCounted
<PendingRenderFrameConnect
>;
619 ~PendingRenderFrameConnect();
622 typedef std::map
<int, scoped_refptr
<PendingRenderFrameConnect
>>
623 PendingRenderFrameConnectMap
;
624 PendingRenderFrameConnectMap pending_render_frame_connects_
;
626 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl
);
629 #if defined(COMPILER_MSVC)
633 } // namespace content
635 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_