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

Side by Side Diff: content/public/common/content_switches.h

Issue 2517953003: Move enable_webrtc to a buildflag header. (Closed)
Patch Set: Fix Created 4 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
« no previous file with comments | « content/public/common/BUILD.gn ('k') | content/public/common/content_switches.cc » ('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 // Defines all the "content" command-line switches. 5 // Defines all the "content" command-line switches.
6 6
7 #ifndef CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_ 7 #ifndef CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_
8 #define CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_ 8 #define CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_
9 9
10 #include "build/build_config.h" 10 #include "build/build_config.h"
11 #include "content/common/content_export.h" 11 #include "content/common/content_export.h"
12 #include "media/media_features.h"
12 13
13 namespace switches { 14 namespace switches {
14 15
15 // All switches in alphabetical order. The switches should be documented 16 // All switches in alphabetical order. The switches should be documented
16 // alongside the definition of their values in the .cc file. 17 // alongside the definition of their values in the .cc file.
17 CONTENT_EXPORT extern const char kAcceleratedCanvas2dMSAASampleCount[]; 18 CONTENT_EXPORT extern const char kAcceleratedCanvas2dMSAASampleCount[];
18 CONTENT_EXPORT extern const char kAecRefinedAdaptiveFilter[]; 19 CONTENT_EXPORT extern const char kAecRefinedAdaptiveFilter[];
19 CONTENT_EXPORT extern const char kAgcStartupMinVolume[]; 20 CONTENT_EXPORT extern const char kAgcStartupMinVolume[];
20 CONTENT_EXPORT extern const char kAllowFileAccessFromFiles[]; 21 CONTENT_EXPORT extern const char kAllowFileAccessFromFiles[];
21 CONTENT_EXPORT extern const char kAllowLoopbackInPeerConnection[]; 22 CONTENT_EXPORT extern const char kAllowLoopbackInPeerConnection[];
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 CONTENT_EXPORT extern const char kUtilityProcessRunningElevated[]; 252 CONTENT_EXPORT extern const char kUtilityProcessRunningElevated[];
252 CONTENT_EXPORT extern const char kV8CacheOptions[]; 253 CONTENT_EXPORT extern const char kV8CacheOptions[];
253 CONTENT_EXPORT extern const char kV8NativesPassedByFD[]; 254 CONTENT_EXPORT extern const char kV8NativesPassedByFD[];
254 CONTENT_EXPORT extern const char kV8SnapshotPassedByFD[]; 255 CONTENT_EXPORT extern const char kV8SnapshotPassedByFD[];
255 CONTENT_EXPORT extern const char kV8CacheStrategiesForCacheStorage[]; 256 CONTENT_EXPORT extern const char kV8CacheStrategiesForCacheStorage[];
256 CONTENT_EXPORT extern const char kValidateInputEventStream[]; 257 CONTENT_EXPORT extern const char kValidateInputEventStream[];
257 CONTENT_EXPORT extern const char kWaitForDebuggerChildren[]; 258 CONTENT_EXPORT extern const char kWaitForDebuggerChildren[];
258 CONTENT_EXPORT extern const char kZygoteCmdPrefix[]; 259 CONTENT_EXPORT extern const char kZygoteCmdPrefix[];
259 CONTENT_EXPORT extern const char kZygoteProcess[]; 260 CONTENT_EXPORT extern const char kZygoteProcess[];
260 261
261 #if defined(ENABLE_WEBRTC) 262 #if BUILDFLAG(ENABLE_WEBRTC)
262 CONTENT_EXPORT extern const char kDisableWebRtcHWDecoding[]; 263 CONTENT_EXPORT extern const char kDisableWebRtcHWDecoding[];
263 CONTENT_EXPORT extern const char kDisableWebRtcEncryption[]; 264 CONTENT_EXPORT extern const char kDisableWebRtcEncryption[];
264 CONTENT_EXPORT extern const char kDisableWebRtcHWEncoding[]; 265 CONTENT_EXPORT extern const char kDisableWebRtcHWEncoding[];
265 CONTENT_EXPORT extern const char kDisableWebRtcHWEncodingVPx[]; 266 CONTENT_EXPORT extern const char kDisableWebRtcHWEncodingVPx[];
266 CONTENT_EXPORT extern const char kDisableWebRtcHWEncodingH264[]; 267 CONTENT_EXPORT extern const char kDisableWebRtcHWEncodingH264[];
267 CONTENT_EXPORT extern const char kDisableWebRtcHWEncodingNone[]; 268 CONTENT_EXPORT extern const char kDisableWebRtcHWEncodingNone[];
268 CONTENT_EXPORT extern const char kEnableWebRtcStunOrigin[]; 269 CONTENT_EXPORT extern const char kEnableWebRtcStunOrigin[];
269 CONTENT_EXPORT extern const char kEnforceWebRtcIPPermissionCheck[]; 270 CONTENT_EXPORT extern const char kEnforceWebRtcIPPermissionCheck[];
270 CONTENT_EXPORT extern const char kForceWebRtcIPHandlingPolicy[]; 271 CONTENT_EXPORT extern const char kForceWebRtcIPHandlingPolicy[];
271 CONTENT_EXPORT extern const char kWebRtcStunProbeTrialParameter[]; 272 CONTENT_EXPORT extern const char kWebRtcStunProbeTrialParameter[];
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 extern const char kIpcDumpDirectory[]; 322 extern const char kIpcDumpDirectory[];
322 extern const char kIpcFuzzerTestcase[]; 323 extern const char kIpcFuzzerTestcase[];
323 #endif 324 #endif
324 325
325 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in 326 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in
326 // alphabetical order, or in one of the ifdefs (also in order in each section). 327 // alphabetical order, or in one of the ifdefs (also in order in each section).
327 328
328 } // namespace switches 329 } // namespace switches
329 330
330 #endif // CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_ 331 #endif // CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_
OLDNEW
« no previous file with comments | « content/public/common/BUILD.gn ('k') | content/public/common/content_switches.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698