Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(81)

Side by Side Diff: content/renderer/render_thread_impl.cc

Issue 334743006: Support multiple files for AEC dump. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase again... Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/renderer/render_thread_impl.h ('k') | ipc/ipc_message_start.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #include "content/renderer/render_thread_impl.h" 5 #include "content/renderer/render_thread_impl.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <limits> 8 #include <limits>
9 #include <map> 9 #include <map>
10 #include <vector> 10 #include <vector>
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 #include "content/renderer/compositor_bindings/web_layer_impl.h" 67 #include "content/renderer/compositor_bindings/web_layer_impl.h"
68 #include "content/renderer/devtools/devtools_agent_filter.h" 68 #include "content/renderer/devtools/devtools_agent_filter.h"
69 #include "content/renderer/dom_storage/dom_storage_dispatcher.h" 69 #include "content/renderer/dom_storage/dom_storage_dispatcher.h"
70 #include "content/renderer/dom_storage/webstoragearea_impl.h" 70 #include "content/renderer/dom_storage/webstoragearea_impl.h"
71 #include "content/renderer/dom_storage/webstoragenamespace_impl.h" 71 #include "content/renderer/dom_storage/webstoragenamespace_impl.h"
72 #include "content/renderer/gamepad_shared_memory_reader.h" 72 #include "content/renderer/gamepad_shared_memory_reader.h"
73 #include "content/renderer/gpu/compositor_output_surface.h" 73 #include "content/renderer/gpu/compositor_output_surface.h"
74 #include "content/renderer/gpu/gpu_benchmarking_extension.h" 74 #include "content/renderer/gpu/gpu_benchmarking_extension.h"
75 #include "content/renderer/input/input_event_filter.h" 75 #include "content/renderer/input/input_event_filter.h"
76 #include "content/renderer/input/input_handler_manager.h" 76 #include "content/renderer/input/input_handler_manager.h"
77 #include "content/renderer/media/aec_dump_message_filter.h"
77 #include "content/renderer/media/audio_input_message_filter.h" 78 #include "content/renderer/media/audio_input_message_filter.h"
78 #include "content/renderer/media/audio_message_filter.h" 79 #include "content/renderer/media/audio_message_filter.h"
79 #include "content/renderer/media/audio_renderer_mixer_manager.h" 80 #include "content/renderer/media/audio_renderer_mixer_manager.h"
80 #include "content/renderer/media/media_stream_center.h" 81 #include "content/renderer/media/media_stream_center.h"
81 #include "content/renderer/media/midi_message_filter.h" 82 #include "content/renderer/media/midi_message_filter.h"
82 #include "content/renderer/media/peer_connection_tracker.h" 83 #include "content/renderer/media/peer_connection_tracker.h"
83 #include "content/renderer/media/renderer_gpu_video_accelerator_factories.h" 84 #include "content/renderer/media/renderer_gpu_video_accelerator_factories.h"
84 #include "content/renderer/media/rtc_peer_connection_handler.h" 85 #include "content/renderer/media/rtc_peer_connection_handler.h"
85 #include "content/renderer/media/video_capture_impl_manager.h" 86 #include "content/renderer/media/video_capture_impl_manager.h"
86 #include "content/renderer/media/video_capture_message_filter.h" 87 #include "content/renderer/media/video_capture_message_filter.h"
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
374 #if defined(ENABLE_WEBRTC) 375 #if defined(ENABLE_WEBRTC)
375 peer_connection_tracker_.reset(new PeerConnectionTracker()); 376 peer_connection_tracker_.reset(new PeerConnectionTracker());
376 AddObserver(peer_connection_tracker_.get()); 377 AddObserver(peer_connection_tracker_.get());
377 378
378 p2p_socket_dispatcher_ = 379 p2p_socket_dispatcher_ =
379 new P2PSocketDispatcher(GetIOMessageLoopProxy().get()); 380 new P2PSocketDispatcher(GetIOMessageLoopProxy().get());
380 AddFilter(p2p_socket_dispatcher_.get()); 381 AddFilter(p2p_socket_dispatcher_.get());
381 382
382 webrtc_identity_service_.reset(new WebRTCIdentityService()); 383 webrtc_identity_service_.reset(new WebRTCIdentityService());
383 384
385 aec_dump_message_filter_ =
386 new AecDumpMessageFilter(GetIOMessageLoopProxy(),
387 message_loop()->message_loop_proxy());
388 AddFilter(aec_dump_message_filter_.get());
389
384 peer_connection_factory_.reset(new PeerConnectionDependencyFactory( 390 peer_connection_factory_.reset(new PeerConnectionDependencyFactory(
385 p2p_socket_dispatcher_.get())); 391 p2p_socket_dispatcher_.get()));
386 AddObserver(peer_connection_factory_.get());
387 #endif // defined(ENABLE_WEBRTC) 392 #endif // defined(ENABLE_WEBRTC)
388 393
389 audio_input_message_filter_ = 394 audio_input_message_filter_ =
390 new AudioInputMessageFilter(GetIOMessageLoopProxy()); 395 new AudioInputMessageFilter(GetIOMessageLoopProxy());
391 AddFilter(audio_input_message_filter_.get()); 396 AddFilter(audio_input_message_filter_.get());
392 397
393 audio_message_filter_ = new AudioMessageFilter(GetIOMessageLoopProxy()); 398 audio_message_filter_ = new AudioMessageFilter(GetIOMessageLoopProxy());
394 AddFilter(audio_message_filter_.get()); 399 AddFilter(audio_message_filter_.get());
395 400
396 midi_message_filter_ = new MidiMessageFilter(GetIOMessageLoopProxy()); 401 midi_message_filter_ = new MidiMessageFilter(GetIOMessageLoopProxy());
(...skipping 1117 matching lines...) Expand 10 before | Expand all | Expand 10 after
1514 hidden_widget_count_--; 1519 hidden_widget_count_--;
1515 1520
1516 if (!GetContentClient()->renderer()->RunIdleHandlerWhenWidgetsHidden()) { 1521 if (!GetContentClient()->renderer()->RunIdleHandlerWhenWidgetsHidden()) {
1517 return; 1522 return;
1518 } 1523 }
1519 1524
1520 ScheduleIdleHandler(kLongIdleHandlerDelayMs); 1525 ScheduleIdleHandler(kLongIdleHandlerDelayMs);
1521 } 1526 }
1522 1527
1523 } // namespace content 1528 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/render_thread_impl.h ('k') | ipc/ipc_message_start.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698