| 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 MEDIA_EXPORT extern const char kUseFakeJpegDecodeAccelerator[]; | 70 MEDIA_EXPORT extern const char kUseFakeJpegDecodeAccelerator[]; |
| 71 | 71 |
| 72 MEDIA_EXPORT extern const char kEnableInbandTextTracks[]; | 72 MEDIA_EXPORT extern const char kEnableInbandTextTracks[]; |
| 73 | 73 |
| 74 MEDIA_EXPORT extern const char kRequireAudioHardwareForTesting[]; | 74 MEDIA_EXPORT extern const char kRequireAudioHardwareForTesting[]; |
| 75 | 75 |
| 76 MEDIA_EXPORT extern const char kVideoUnderflowThresholdMs[]; | 76 MEDIA_EXPORT extern const char kVideoUnderflowThresholdMs[]; |
| 77 | 77 |
| 78 MEDIA_EXPORT extern const char kDisableRTCSmoothnessAlgorithm[]; | 78 MEDIA_EXPORT extern const char kDisableRTCSmoothnessAlgorithm[]; |
| 79 | 79 |
| 80 MEDIA_EXPORT extern const char kEnableVp9InMp4[]; | |
| 81 | |
| 82 MEDIA_EXPORT extern const char kForceVideoOverlays[]; | 80 MEDIA_EXPORT extern const char kForceVideoOverlays[]; |
| 83 | 81 |
| 84 MEDIA_EXPORT extern const char kMSEAudioBufferSizeLimit[]; | 82 MEDIA_EXPORT extern const char kMSEAudioBufferSizeLimit[]; |
| 85 MEDIA_EXPORT extern const char kMSEVideoBufferSizeLimit[]; | 83 MEDIA_EXPORT extern const char kMSEVideoBufferSizeLimit[]; |
| 86 | 84 |
| 87 MEDIA_EXPORT extern const char kIgnoreAutoplayRestrictionsForTests[]; | 85 MEDIA_EXPORT extern const char kIgnoreAutoplayRestrictionsForTests[]; |
| 88 | 86 |
| 89 #if !defined(OS_ANDROID) | 87 #if !defined(OS_ANDROID) |
| 90 MEDIA_EXPORT extern const char kEnableInternalMediaSession[]; | 88 MEDIA_EXPORT extern const char kEnableInternalMediaSession[]; |
| 91 #endif // !defined(OS_ANDROID) | 89 #endif // !defined(OS_ANDROID) |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 // autoplay policy. In other words, it will take into account the default policy | 135 // autoplay policy. In other words, it will take into account the default policy |
| 138 // if none is specified via the command line and options passed for testing. | 136 // if none is specified via the command line and options passed for testing. |
| 139 // Returns one of the possible autoplay policy switches from the | 137 // Returns one of the possible autoplay policy switches from the |
| 140 // switches::autoplay namespace. | 138 // switches::autoplay namespace. |
| 141 MEDIA_EXPORT std::string GetEffectiveAutoplayPolicy( | 139 MEDIA_EXPORT std::string GetEffectiveAutoplayPolicy( |
| 142 const base::CommandLine& command_line); | 140 const base::CommandLine& command_line); |
| 143 | 141 |
| 144 } // namespace media | 142 } // namespace media |
| 145 | 143 |
| 146 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ | 144 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ |
| OLD | NEW |