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

Side by Side Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 54383003: Added an "enable-audio-processor" flag and WebRtcAudioProcessor class (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addressed Per's comments Created 7 years, 1 month 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
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 // Represents the browser side of the browser <--> renderer communication 5 // Represents the browser side of the browser <--> renderer communication
6 // channel. There will be one RenderProcessHost per renderer process. 6 // channel. There will be one RenderProcessHost per renderer process.
7 7
8 #include "content/browser/renderer_host/render_process_host_impl.h" 8 #include "content/browser/renderer_host/render_process_host_impl.h"
9 9
10 #include <algorithm> 10 #include <algorithm>
(...skipping 1029 matching lines...) Expand 10 before | Expand all | Expand 10 after
1040 cc::switches::kStrictLayerPropertyChangeChecking, 1040 cc::switches::kStrictLayerPropertyChangeChecking,
1041 cc::switches::kTopControlsHeight, 1041 cc::switches::kTopControlsHeight,
1042 cc::switches::kTopControlsHideThreshold, 1042 cc::switches::kTopControlsHideThreshold,
1043 cc::switches::kTopControlsShowThreshold, 1043 cc::switches::kTopControlsShowThreshold,
1044 cc::switches::kTraceOverdraw, 1044 cc::switches::kTraceOverdraw,
1045 #if defined(ENABLE_PLUGINS) 1045 #if defined(ENABLE_PLUGINS)
1046 switches::kEnablePepperTesting, 1046 switches::kEnablePepperTesting,
1047 switches::kDisablePepper3d, 1047 switches::kDisablePepper3d,
1048 #endif 1048 #endif
1049 #if defined(ENABLE_WEBRTC) 1049 #if defined(ENABLE_WEBRTC)
1050 switches::kEnableAudioTrackProcessing,
1050 switches::kDisableDeviceEnumeration, 1051 switches::kDisableDeviceEnumeration,
1051 switches::kDisableSCTPDataChannels, 1052 switches::kDisableSCTPDataChannels,
1052 switches::kDisableWebRtcHWDecoding, 1053 switches::kDisableWebRtcHWDecoding,
1053 switches::kDisableWebRtcHWEncoding, 1054 switches::kDisableWebRtcHWEncoding,
1054 switches::kEnableWebRtcAecRecordings, 1055 switches::kEnableWebRtcAecRecordings,
1055 switches::kEnableWebRtcHWVp8Encoding, 1056 switches::kEnableWebRtcHWVp8Encoding,
1056 switches::kEnableWebRtcTcpServerSocket, 1057 switches::kEnableWebRtcTcpServerSocket,
1057 #endif 1058 #endif
1058 #if !defined (GOOGLE_CHROME_BUILD) 1059 #if !defined (GOOGLE_CHROME_BUILD)
1059 // These are unsupported and not fully tested modes, so don't enable them 1060 // These are unsupported and not fully tested modes, so don't enable them
(...skipping 774 matching lines...) Expand 10 before | Expand all | Expand 10 after
1834 // Skip widgets in other processes. 1835 // Skip widgets in other processes.
1835 if (widget->GetProcess()->GetID() != GetID()) 1836 if (widget->GetProcess()->GetID() != GetID())
1836 continue; 1837 continue;
1837 1838
1838 RenderViewHost* rvh = RenderViewHost::From(widget); 1839 RenderViewHost* rvh = RenderViewHost::From(widget);
1839 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); 1840 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences());
1840 } 1841 }
1841 } 1842 }
1842 1843
1843 } // namespace content 1844 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | content/content_renderer.gypi » ('j') | content/renderer/media/webrtc_audio_processor.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698