| 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   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) |   89 #if !defined(OS_ANDROID) | 
|   90 MEDIA_EXPORT extern const char kEnableInternalMediaSession[]; |   90 MEDIA_EXPORT extern const char kEnableInternalMediaSession[]; | 
|   91 #endif  // !defined(OS_ANDROID) |   91 #endif  // !defined(OS_ANDROID) | 
|   92  |   92  | 
|   93 namespace autoplay { |   93 namespace autoplay { | 
|   94  |   94  | 
 |   95 MEDIA_EXPORT extern const char kDocumentUserActivationRequiredPolicy[]; | 
|   95 MEDIA_EXPORT extern const char kNoUserGestureRequiredPolicy[]; |   96 MEDIA_EXPORT extern const char kNoUserGestureRequiredPolicy[]; | 
|   96 MEDIA_EXPORT extern const char kUserGestureRequiredPolicy[]; |   97 MEDIA_EXPORT extern const char kUserGestureRequiredPolicy[]; | 
|   97 MEDIA_EXPORT extern const char kUserGestureRequiredForCrossOriginPolicy[]; |   98 MEDIA_EXPORT extern const char kUserGestureRequiredForCrossOriginPolicy[]; | 
|   98  |   99  | 
|   99 }  // namespace autoplay |  100 }  // namespace autoplay | 
|  100  |  101  | 
|  101 }  // namespace switches |  102 }  // namespace switches | 
|  102  |  103  | 
|  103 namespace media { |  104 namespace media { | 
|  104  |  105  | 
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  138 // autoplay policy. In other words, it will take into account the default policy |  139 // autoplay policy. In other words, it will take into account the default policy | 
|  139 // if none is specified via the command line and options passed for testing. |  140 // if none is specified via the command line and options passed for testing. | 
|  140 // Returns one of the possible autoplay policy switches from the |  141 // Returns one of the possible autoplay policy switches from the | 
|  141 // switches::autoplay namespace. |  142 // switches::autoplay namespace. | 
|  142 MEDIA_EXPORT std::string GetEffectiveAutoplayPolicy( |  143 MEDIA_EXPORT std::string GetEffectiveAutoplayPolicy( | 
|  143     const base::CommandLine& command_line); |  144     const base::CommandLine& command_line); | 
|  144  |  145  | 
|  145 }  // namespace media |  146 }  // namespace media | 
|  146  |  147  | 
|  147 #endif  // MEDIA_BASE_MEDIA_SWITCHES_H_ |  148 #endif  // MEDIA_BASE_MEDIA_SWITCHES_H_ | 
| OLD | NEW |