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

Side by Side Diff: media/base/media_switches.h

Issue 2512563003: Convert enable_plugins to a buildflag header. (Closed)
Patch Set: Merge 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 | « media/base/mac/BUILD.gn ('k') | media/base/media_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 "media" command-line switches. 5 // Defines all the "media" command-line switches.
6 6
7 #ifndef MEDIA_BASE_MEDIA_SWITCHES_H_ 7 #ifndef MEDIA_BASE_MEDIA_SWITCHES_H_
8 #define MEDIA_BASE_MEDIA_SWITCHES_H_ 8 #define MEDIA_BASE_MEDIA_SWITCHES_H_
9 9
10 #include "base/feature_list.h" 10 #include "base/feature_list.h"
11 #include "build/build_config.h" 11 #include "build/build_config.h"
12 #include "media/base/media_export.h" 12 #include "media/base/media_export.h"
13 #include "ppapi/features/features.h"
13 14
14 namespace switches { 15 namespace switches {
15 16
16 MEDIA_EXPORT extern const char kAudioBufferSize[]; 17 MEDIA_EXPORT extern const char kAudioBufferSize[];
17 18
18 MEDIA_EXPORT extern const char kVideoThreads[]; 19 MEDIA_EXPORT extern const char kVideoThreads[];
19 20
20 MEDIA_EXPORT extern const char kEnableMediaSuspend[]; 21 MEDIA_EXPORT extern const char kEnableMediaSuspend[];
21 MEDIA_EXPORT extern const char kDisableMediaSuspend[]; 22 MEDIA_EXPORT extern const char kDisableMediaSuspend[];
22 23
(...skipping 13 matching lines...) Expand all
36 MEDIA_EXPORT extern const char kForceMediaFoundationVideoCapture[]; 37 MEDIA_EXPORT extern const char kForceMediaFoundationVideoCapture[];
37 MEDIA_EXPORT extern const char kForceWaveAudio[]; 38 MEDIA_EXPORT extern const char kForceWaveAudio[];
38 MEDIA_EXPORT extern const char kTrySupportedChannelLayouts[]; 39 MEDIA_EXPORT extern const char kTrySupportedChannelLayouts[];
39 MEDIA_EXPORT extern const char kWaveOutBuffers[]; 40 MEDIA_EXPORT extern const char kWaveOutBuffers[];
40 #endif 41 #endif
41 42
42 #if defined(USE_CRAS) 43 #if defined(USE_CRAS)
43 MEDIA_EXPORT extern const char kUseCras[]; 44 MEDIA_EXPORT extern const char kUseCras[];
44 #endif 45 #endif
45 46
46 #if !defined(OS_ANDROID) || defined(ENABLE_PLUGINS) 47 #if !defined(OS_ANDROID) || BUILDFLAG(ENABLE_PLUGINS)
47 MEDIA_EXPORT extern const char kEnableDefaultMediaSession[]; 48 MEDIA_EXPORT extern const char kEnableDefaultMediaSession[];
48 #endif // !defined(OS_ANDROID) || defined(ENABLE_PLUGINS) 49 #endif // !defined(OS_ANDROID) || BUILDFLAG(ENABLE_PLUGINS)
49 50
50 #if defined(ENABLE_PLUGINS) 51 #if BUILDFLAG(ENABLE_PLUGINS)
51 MEDIA_EXPORT extern const char kEnableDefaultMediaSessionDuckFlash[]; 52 MEDIA_EXPORT extern const char kEnableDefaultMediaSessionDuckFlash[];
52 #endif // defined(ENABLE_PLUGINS) 53 #endif // BUILDFLAG(ENABLE_PLUGINS)
53 54
54 MEDIA_EXPORT extern const char kUseFakeDeviceForMediaStream[]; 55 MEDIA_EXPORT extern const char kUseFakeDeviceForMediaStream[];
55 MEDIA_EXPORT extern const char kUseFileForFakeVideoCapture[]; 56 MEDIA_EXPORT extern const char kUseFileForFakeVideoCapture[];
56 MEDIA_EXPORT extern const char kUseFileForFakeAudioCapture[]; 57 MEDIA_EXPORT extern const char kUseFileForFakeAudioCapture[];
57 58
58 MEDIA_EXPORT extern const char kEnableInbandTextTracks[]; 59 MEDIA_EXPORT extern const char kEnableInbandTextTracks[];
59 60
60 MEDIA_EXPORT extern const char kRequireAudioHardwareForTesting[]; 61 MEDIA_EXPORT extern const char kRequireAudioHardwareForTesting[];
61 62
62 MEDIA_EXPORT extern const char kVideoUnderflowThresholdMs[]; 63 MEDIA_EXPORT extern const char kVideoUnderflowThresholdMs[];
(...skipping 24 matching lines...) Expand all
87 MEDIA_EXPORT extern const base::Feature kUseNewMediaCache; 88 MEDIA_EXPORT extern const base::Feature kUseNewMediaCache;
88 MEDIA_EXPORT extern const base::Feature kVideoColorManagement; 89 MEDIA_EXPORT extern const base::Feature kVideoColorManagement;
89 MEDIA_EXPORT extern const base::Feature kExternalClearKeyForTesting; 90 MEDIA_EXPORT extern const base::Feature kExternalClearKeyForTesting;
90 91
91 #if defined(OS_ANDROID) 92 #if defined(OS_ANDROID)
92 MEDIA_EXPORT extern const base::Feature kAndroidMediaPlayerRenderer; 93 MEDIA_EXPORT extern const base::Feature kAndroidMediaPlayerRenderer;
93 #endif // defined(OS_ANDROID) 94 #endif // defined(OS_ANDROID)
94 } // namespace media 95 } // namespace media
95 96
96 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ 97 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_
OLDNEW
« no previous file with comments | « media/base/mac/BUILD.gn ('k') | media/base/media_switches.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698