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

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: rebased with 77803004, and fixed the order of the methods. Created 7 years 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 1080 matching lines...) Expand 10 before | Expand all | Expand 10 after
1091 cc::switches::kStrictLayerPropertyChangeChecking, 1091 cc::switches::kStrictLayerPropertyChangeChecking,
1092 cc::switches::kTopControlsHeight, 1092 cc::switches::kTopControlsHeight,
1093 cc::switches::kTopControlsHideThreshold, 1093 cc::switches::kTopControlsHideThreshold,
1094 cc::switches::kTopControlsShowThreshold, 1094 cc::switches::kTopControlsShowThreshold,
1095 cc::switches::kTraceOverdraw, 1095 cc::switches::kTraceOverdraw,
1096 #if defined(ENABLE_PLUGINS) 1096 #if defined(ENABLE_PLUGINS)
1097 switches::kEnablePepperTesting, 1097 switches::kEnablePepperTesting,
1098 switches::kDisablePepper3d, 1098 switches::kDisablePepper3d,
1099 #endif 1099 #endif
1100 #if defined(ENABLE_WEBRTC) 1100 #if defined(ENABLE_WEBRTC)
1101 switches::kEnableAudioTrackProcessing,
1101 switches::kDisableDeviceEnumeration, 1102 switches::kDisableDeviceEnumeration,
1102 switches::kDisableSCTPDataChannels, 1103 switches::kDisableSCTPDataChannels,
1103 switches::kDisableWebRtcHWDecoding, 1104 switches::kDisableWebRtcHWDecoding,
1104 switches::kDisableWebRtcHWEncoding, 1105 switches::kDisableWebRtcHWEncoding,
1105 switches::kEnableWebRtcAecRecordings, 1106 switches::kEnableWebRtcAecRecordings,
1106 switches::kEnableWebRtcHWVp8Encoding, 1107 switches::kEnableWebRtcHWVp8Encoding,
1107 switches::kEnableWebRtcTcpServerSocket, 1108 switches::kEnableWebRtcTcpServerSocket,
1108 #endif 1109 #endif
1109 #if !defined (GOOGLE_CHROME_BUILD) 1110 #if !defined (GOOGLE_CHROME_BUILD)
1110 // These are unsupported and not fully tested modes, so don't enable them 1111 // These are unsupported and not fully tested modes, so don't enable them
(...skipping 783 matching lines...) Expand 10 before | Expand all | Expand 10 after
1894 // Skip widgets in other processes. 1895 // Skip widgets in other processes.
1895 if (widget->GetProcess()->GetID() != GetID()) 1896 if (widget->GetProcess()->GetID() != GetID())
1896 continue; 1897 continue;
1897 1898
1898 RenderViewHost* rvh = RenderViewHost::From(widget); 1899 RenderViewHost* rvh = RenderViewHost::From(widget);
1899 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); 1900 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences());
1900 } 1901 }
1901 } 1902 }
1902 1903
1903 } // namespace content 1904 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698