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

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

Issue 37793005: move the APM to chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: added a switch, it uses the APM in WebRtc if the switch is off, otherwise use the APM in Chrome. 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
« no previous file with comments | « no previous file | content/content_renderer.gypi » ('j') | content/public/common/content_switches.cc » ('J')
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 // 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 1028 matching lines...) Expand 10 before | Expand all | Expand 10 after
1039 cc::switches::kStrictLayerPropertyChangeChecking, 1039 cc::switches::kStrictLayerPropertyChangeChecking,
1040 cc::switches::kTopControlsHeight, 1040 cc::switches::kTopControlsHeight,
1041 cc::switches::kTopControlsHideThreshold, 1041 cc::switches::kTopControlsHideThreshold,
1042 cc::switches::kTopControlsShowThreshold, 1042 cc::switches::kTopControlsShowThreshold,
1043 cc::switches::kTraceOverdraw, 1043 cc::switches::kTraceOverdraw,
1044 #if defined(ENABLE_PLUGINS) 1044 #if defined(ENABLE_PLUGINS)
1045 switches::kEnablePepperTesting, 1045 switches::kEnablePepperTesting,
1046 switches::kDisablePepper3d, 1046 switches::kDisablePepper3d,
1047 #endif 1047 #endif
1048 #if defined(ENABLE_WEBRTC) 1048 #if defined(ENABLE_WEBRTC)
1049 switches::kEnableWebRtcAudioProcessor,
1049 switches::kDisableDeviceEnumeration, 1050 switches::kDisableDeviceEnumeration,
1050 switches::kDisableSCTPDataChannels, 1051 switches::kDisableSCTPDataChannels,
1051 switches::kDisableWebRtcHWDecoding, 1052 switches::kDisableWebRtcHWDecoding,
1052 switches::kDisableWebRtcHWEncoding, 1053 switches::kDisableWebRtcHWEncoding,
1053 switches::kEnableWebRtcAecRecordings, 1054 switches::kEnableWebRtcAecRecordings,
1054 switches::kEnableWebRtcHWVp8Encoding, 1055 switches::kEnableWebRtcHWVp8Encoding,
1055 switches::kEnableWebRtcTcpServerSocket, 1056 switches::kEnableWebRtcTcpServerSocket,
1056 #endif 1057 #endif
1057 #if !defined (GOOGLE_CHROME_BUILD) 1058 #if !defined (GOOGLE_CHROME_BUILD)
1058 // These are unsupported and not fully tested modes, so don't enable them 1059 // These are unsupported and not fully tested modes, so don't enable them
(...skipping 767 matching lines...) Expand 10 before | Expand all | Expand 10 after
1826 // Skip widgets in other processes. 1827 // Skip widgets in other processes.
1827 if (widget->GetProcess()->GetID() != GetID()) 1828 if (widget->GetProcess()->GetID() != GetID())
1828 continue; 1829 continue;
1829 1830
1830 RenderViewHost* rvh = RenderViewHost::From(widget); 1831 RenderViewHost* rvh = RenderViewHost::From(widget);
1831 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); 1832 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences());
1832 } 1833 }
1833 } 1834 }
1834 1835
1835 } // namespace content 1836 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | content/content_renderer.gypi » ('j') | content/public/common/content_switches.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698