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

Side by Side Diff: content/public/common/content_switches.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
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/public/common/content_switches.h" 5 #include "content/public/common/content_switches.h"
6 6
7 namespace switches { 7 namespace switches {
8 8
9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to 9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to
10 // have an effect. 0 disables MSAA. 10 // have an effect. 0 disables MSAA.
(...skipping 895 matching lines...) Expand 10 before | Expand all | Expand 10 after
906 // Causes the process to run as a worker subprocess. 906 // Causes the process to run as a worker subprocess.
907 const char kWorkerProcess[] = "worker"; 907 const char kWorkerProcess[] = "worker";
908 908
909 // The prefix used when starting the zygote process. (i.e. 'gdb --args') 909 // The prefix used when starting the zygote process. (i.e. 'gdb --args')
910 const char kZygoteCmdPrefix[] = "zygote-cmd-prefix"; 910 const char kZygoteCmdPrefix[] = "zygote-cmd-prefix";
911 911
912 // Causes the process to run as a renderer zygote. 912 // Causes the process to run as a renderer zygote.
913 const char kZygoteProcess[] = "zygote"; 913 const char kZygoteProcess[] = "zygote";
914 914
915 #if defined(ENABLE_WEBRTC) 915 #if defined(ENABLE_WEBRTC)
916 // Enable WebRtc audio processor in Chrome.
917 const char kEnableWebRtcAudioProcessor[] = "enable-audio-processor";
Henrik Grunell 2013/10/31 11:56:12 I think the name should reflect that the switch ch
918
916 // Disable WebRTC device enumeration. 919 // Disable WebRTC device enumeration.
917 const char kDisableDeviceEnumeration[] = "disable-device-enumeration"; 920 const char kDisableDeviceEnumeration[] = "disable-device-enumeration";
918 921
919 // Disable WebRTC DataChannels SCTP wire protocol support. 922 // Disable WebRTC DataChannels SCTP wire protocol support.
920 const char kDisableSCTPDataChannels[] = "disable-sctp-data-channels"; 923 const char kDisableSCTPDataChannels[] = "disable-sctp-data-channels";
921 924
922 // Disables HW decode acceleration for WebRTC. 925 // Disables HW decode acceleration for WebRTC.
923 const char kDisableWebRtcHWDecoding[] = "disable-webrtc-hw-decoding"; 926 const char kDisableWebRtcHWDecoding[] = "disable-webrtc-hw-decoding";
924 927
925 // Disables HW encode acceleration for WebRTC. 928 // Disables HW encode acceleration for WebRTC.
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
990 #endif 993 #endif
991 994
992 #if defined(USE_AURA) 995 #if defined(USE_AURA)
993 // Forces usage of the test compositor. Needed to run ui tests on bots. 996 // Forces usage of the test compositor. Needed to run ui tests on bots.
994 extern const char kTestCompositor[] = "test-compositor"; 997 extern const char kTestCompositor[] = "test-compositor";
995 #endif 998 #endif
996 999
997 // Don't dump stuff here, follow the same order as the header. 1000 // Don't dump stuff here, follow the same order as the header.
998 1001
999 } // namespace switches 1002 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698