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 "build/build_config.h" | 11 #include "build/build_config.h" |
11 #include "media/base/media_export.h" | 12 #include "media/base/media_export.h" |
12 | 13 |
13 namespace switches { | 14 namespace switches { |
14 | 15 |
15 MEDIA_EXPORT extern const char kAudioBufferSize[]; | 16 MEDIA_EXPORT extern const char kAudioBufferSize[]; |
16 | 17 |
17 MEDIA_EXPORT extern const char kVideoThreads[]; | 18 MEDIA_EXPORT extern const char kVideoThreads[]; |
18 | 19 |
19 MEDIA_EXPORT extern const char kEnableMediaSuspend[]; | 20 MEDIA_EXPORT extern const char kEnableMediaSuspend[]; |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 MEDIA_EXPORT extern const char kUseFileForFakeAudioCapture[]; | 56 MEDIA_EXPORT extern const char kUseFileForFakeAudioCapture[]; |
56 | 57 |
57 MEDIA_EXPORT extern const char kEnableInbandTextTracks[]; | 58 MEDIA_EXPORT extern const char kEnableInbandTextTracks[]; |
58 | 59 |
59 MEDIA_EXPORT extern const char kRequireAudioHardwareForTesting[]; | 60 MEDIA_EXPORT extern const char kRequireAudioHardwareForTesting[]; |
60 | 61 |
61 MEDIA_EXPORT extern const char kVideoUnderflowThresholdMs[]; | 62 MEDIA_EXPORT extern const char kVideoUnderflowThresholdMs[]; |
62 | 63 |
63 MEDIA_EXPORT extern const char kDisableRTCSmoothnessAlgorithm[]; | 64 MEDIA_EXPORT extern const char kDisableRTCSmoothnessAlgorithm[]; |
64 | 65 |
65 MEDIA_EXPORT extern const char kUseNewMediaCache[]; | |
66 | |
67 } // namespace switches | 66 } // namespace switches |
68 | 67 |
| 68 namespace media { |
| 69 |
| 70 // All features in alphabetical order. The features should be documented |
| 71 // alongside the definition of their values in the .cc file. |
| 72 MEDIA_EXPORT extern const base::Feature kUseNewMediaCache; |
| 73 |
| 74 } // namespace media |
| 75 |
69 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ | 76 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ |
OLD | NEW |