Chromium Code Reviews| Index: media/base/android/java/src/org/chromium/media/MediaSwitches.java |
| diff --git a/media/base/android/java/src/org/chromium/media/MediaSwitches.java b/media/base/android/java/src/org/chromium/media/MediaSwitches.java |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..4cbdf4ff8c0d26b7511f6abe7eaebddec5f281d6 |
| --- /dev/null |
| +++ b/media/base/android/java/src/org/chromium/media/MediaSwitches.java |
| @@ -0,0 +1,18 @@ |
| +// Copyright 2016 The Chromium Authors. All rights reserved. |
|
DaleCurtis
2017/04/26 19:39:21
2017
mlamouri (slow - plz ping)
2017/04/27 12:17:36
Done :)
|
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +package org.chromium.media; |
| + |
| +/** |
| + * Contains command line switches that are specific to the media layer. |
| + */ |
| +public abstract class MediaSwitches { |
| + // Ignores all autoplay restrictions. It will ignore the current autoplay policy and all |
| + // restrictions such as playback in a background tab. It should only be enabled for testing. |
| + public static final String IGNORE_AUTOPLAY_RESTRICTIONS_FOR_TESTS = |
| + "ignore-autoplay-restrictions"; |
| + |
| + // Prevents instantiation. |
| + private MediaSwitches() {} |
| +} |