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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 | 79 |
80 MEDIA_EXPORT extern const char kEnableVp9InMp4[]; | 80 MEDIA_EXPORT extern const char kEnableVp9InMp4[]; |
81 | 81 |
82 MEDIA_EXPORT extern const char kForceVideoOverlays[]; | 82 MEDIA_EXPORT extern const char kForceVideoOverlays[]; |
83 | 83 |
84 MEDIA_EXPORT extern const char kMSEAudioBufferSizeLimit[]; | 84 MEDIA_EXPORT extern const char kMSEAudioBufferSizeLimit[]; |
85 MEDIA_EXPORT extern const char kMSEVideoBufferSizeLimit[]; | 85 MEDIA_EXPORT extern const char kMSEVideoBufferSizeLimit[]; |
86 | 86 |
87 MEDIA_EXPORT extern const char kIgnoreAutoplayRestrictionsForTests[]; | 87 MEDIA_EXPORT extern const char kIgnoreAutoplayRestrictionsForTests[]; |
88 | 88 |
| 89 #if !defined(OS_ANDROID) |
| 90 MEDIA_EXPORT extern const char kEnableInternalMediaSession[]; |
| 91 #endif // !defined(OS_ANDROID) |
| 92 |
89 namespace autoplay { | 93 namespace autoplay { |
90 | 94 |
91 MEDIA_EXPORT extern const char kNoUserGestureRequiredPolicy[]; | 95 MEDIA_EXPORT extern const char kNoUserGestureRequiredPolicy[]; |
92 MEDIA_EXPORT extern const char kUserGestureRequiredPolicy[]; | 96 MEDIA_EXPORT extern const char kUserGestureRequiredPolicy[]; |
93 MEDIA_EXPORT extern const char kUserGestureRequiredForCrossOriginPolicy[]; | 97 MEDIA_EXPORT extern const char kUserGestureRequiredForCrossOriginPolicy[]; |
94 | 98 |
95 } // namespace autoplay | 99 } // namespace autoplay |
96 | 100 |
97 } // namespace switches | 101 } // namespace switches |
98 | 102 |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 // autoplay policy. In other words, it will take into account the default policy | 136 // autoplay policy. In other words, it will take into account the default policy |
133 // if none is specified via the command line and options passed for testing. | 137 // if none is specified via the command line and options passed for testing. |
134 // Returns one of the possible autoplay policy switches from the | 138 // Returns one of the possible autoplay policy switches from the |
135 // switches::autoplay namespace. | 139 // switches::autoplay namespace. |
136 MEDIA_EXPORT std::string GetEffectiveAutoplayPolicy( | 140 MEDIA_EXPORT std::string GetEffectiveAutoplayPolicy( |
137 const base::CommandLine& command_line); | 141 const base::CommandLine& command_line); |
138 | 142 |
139 } // namespace media | 143 } // namespace media |
140 | 144 |
141 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ | 145 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ |
OLD | NEW |