| OLD | NEW |
| 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" |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 | 23 |
| 24 MEDIA_EXPORT extern const char kAutoplayPolicy[]; | 24 MEDIA_EXPORT extern const char kAutoplayPolicy[]; |
| 25 | 25 |
| 26 MEDIA_EXPORT extern const char kVideoThreads[]; | 26 MEDIA_EXPORT extern const char kVideoThreads[]; |
| 27 | 27 |
| 28 MEDIA_EXPORT extern const char kEnableMediaSuspend[]; | 28 MEDIA_EXPORT extern const char kEnableMediaSuspend[]; |
| 29 MEDIA_EXPORT extern const char kDisableMediaSuspend[]; | 29 MEDIA_EXPORT extern const char kDisableMediaSuspend[]; |
| 30 | 30 |
| 31 MEDIA_EXPORT extern const char kReportVp9AsAnUnsupportedMimeType[]; | 31 MEDIA_EXPORT extern const char kReportVp9AsAnUnsupportedMimeType[]; |
| 32 | 32 |
| 33 MEDIA_EXPORT extern const char kEnableNewVp9CodecString[]; | |
| 34 | |
| 35 #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_SOLARIS) | 33 #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_SOLARIS) |
| 36 MEDIA_EXPORT extern const char kAlsaInputDevice[]; | 34 MEDIA_EXPORT extern const char kAlsaInputDevice[]; |
| 37 MEDIA_EXPORT extern const char kAlsaOutputDevice[]; | 35 MEDIA_EXPORT extern const char kAlsaOutputDevice[]; |
| 38 #endif | 36 #endif |
| 39 | 37 |
| 40 #if defined(OS_WIN) | 38 #if defined(OS_WIN) |
| 41 MEDIA_EXPORT extern const char kEnableExclusiveAudio[]; | 39 MEDIA_EXPORT extern const char kEnableExclusiveAudio[]; |
| 42 MEDIA_EXPORT extern const char kForceMediaFoundationVideoCapture[]; | 40 MEDIA_EXPORT extern const char kForceMediaFoundationVideoCapture[]; |
| 43 MEDIA_EXPORT extern const char kForceWaveAudio[]; | 41 MEDIA_EXPORT extern const char kForceWaveAudio[]; |
| 44 MEDIA_EXPORT extern const char kTrySupportedChannelLayouts[]; | 42 MEDIA_EXPORT extern const char kTrySupportedChannelLayouts[]; |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 // autoplay policy. In other words, it will take into account the default policy | 133 // autoplay policy. In other words, it will take into account the default policy |
| 136 // if none is specified via the command line and options passed for testing. | 134 // if none is specified via the command line and options passed for testing. |
| 137 // Returns one of the possible autoplay policy switches from the | 135 // Returns one of the possible autoplay policy switches from the |
| 138 // switches::autoplay namespace. | 136 // switches::autoplay namespace. |
| 139 MEDIA_EXPORT std::string GetEffectiveAutoplayPolicy( | 137 MEDIA_EXPORT std::string GetEffectiveAutoplayPolicy( |
| 140 const base::CommandLine& command_line); | 138 const base::CommandLine& command_line); |
| 141 | 139 |
| 142 } // namespace media | 140 } // namespace media |
| 143 | 141 |
| 144 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ | 142 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ |
| OLD | NEW |