| 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" |
| 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 | 13 |
| 14 namespace switches { | 14 namespace switches { |
| 15 | 15 |
| 16 MEDIA_EXPORT extern const char kAudioBufferSize[]; | 16 MEDIA_EXPORT extern const char kAudioBufferSize[]; |
| 17 | 17 |
| 18 MEDIA_EXPORT extern const char kVideoThreads[]; | 18 MEDIA_EXPORT extern const char kVideoThreads[]; |
| 19 | 19 |
| 20 MEDIA_EXPORT extern const char kEnableMediaSuspend[]; | 20 MEDIA_EXPORT extern const char kEnableMediaSuspend[]; |
| 21 MEDIA_EXPORT extern const char kDisableMediaSuspend[]; | 21 MEDIA_EXPORT extern const char kDisableMediaSuspend[]; |
| 22 | 22 |
| 23 #if defined(OS_ANDROID) | 23 #if defined(OS_ANDROID) |
| 24 MEDIA_EXPORT extern const char kDisableMediaThreadForMediaPlayback[]; | 24 MEDIA_EXPORT extern const char kDisableMediaThreadForMediaPlayback[]; |
| 25 MEDIA_EXPORT extern const char kEnableMediaThreadForMediaPlayback[]; | 25 MEDIA_EXPORT extern const char kEnableMediaThreadForMediaPlayback[]; |
| 26 MEDIA_EXPORT extern const char kEnableUnifiedMediaPipeline[]; | 26 MEDIA_EXPORT extern const char kEnableUnifiedMediaPipeline[]; |
| 27 MEDIA_EXPORT extern const char kUseMediaPlayerForExtensions[]; |
| 27 #endif | 28 #endif |
| 28 | 29 |
| 29 #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_SOLARIS) | 30 #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_SOLARIS) |
| 30 MEDIA_EXPORT extern const char kAlsaInputDevice[]; | 31 MEDIA_EXPORT extern const char kAlsaInputDevice[]; |
| 31 MEDIA_EXPORT extern const char kAlsaOutputDevice[]; | 32 MEDIA_EXPORT extern const char kAlsaOutputDevice[]; |
| 32 #endif | 33 #endif |
| 33 | 34 |
| 34 MEDIA_EXPORT extern const char kUseGpuMemoryBuffersForCapture[]; | 35 MEDIA_EXPORT extern const char kUseGpuMemoryBuffersForCapture[]; |
| 35 | 36 |
| 36 #if defined(OS_MACOSX) | 37 #if defined(OS_MACOSX) |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 | 71 |
| 71 namespace media { | 72 namespace media { |
| 72 | 73 |
| 73 // All features in alphabetical order. The features should be documented | 74 // All features in alphabetical order. The features should be documented |
| 74 // alongside the definition of their values in the .cc file. | 75 // alongside the definition of their values in the .cc file. |
| 75 MEDIA_EXPORT extern const base::Feature kUseNewMediaCache; | 76 MEDIA_EXPORT extern const base::Feature kUseNewMediaCache; |
| 76 | 77 |
| 77 } // namespace media | 78 } // namespace media |
| 78 | 79 |
| 79 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ | 80 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ |
| OLD | NEW |