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 #include "build/build_config.h" | 5 #include "build/build_config.h" |
6 #include "media/base/media_switches.h" | 6 #include "media/base/media_switches.h" |
7 #include "ppapi/features/features.h" | 7 #include "ppapi/features/features.h" |
8 | 8 |
9 namespace switches { | 9 namespace switches { |
10 | 10 |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
57 | 57 |
58 // Number of buffers to use for WaveOut. | 58 // Number of buffers to use for WaveOut. |
59 const char kWaveOutBuffers[] = "waveout-buffers"; | 59 const char kWaveOutBuffers[] = "waveout-buffers"; |
60 #endif | 60 #endif |
61 | 61 |
62 #if defined(USE_CRAS) | 62 #if defined(USE_CRAS) |
63 // Use CRAS, the ChromeOS audio server. | 63 // Use CRAS, the ChromeOS audio server. |
64 const char kUseCras[] = "use-cras"; | 64 const char kUseCras[] = "use-cras"; |
65 #endif | 65 #endif |
66 | 66 |
67 // For automated testing of protected content, this switch will allow specific | |
68 // domains to bypass the protected media identifier permission prompt. This | |
69 // flag will have no effect if user-data-dir is not set. | |
70 // Example: | |
71 // --disable-infobar-for-protected-media-identifier-for-domain=a.com,b.ca | |
assareh1
2017/05/05 16:32:23
Can you clarify if port is required here?
assareh1
2017/05/05 16:32:23
Putting the crbug in the comment might be a good i
Vaage
2017/05/08 18:10:36
Done.
| |
72 // --user-data-dir=/test/only/profile/dir | |
73 const char kDisableInfobarForProtectedMediaIdentifierForDomain[] = | |
74 "disable-infobar-for-protected-media-identifier-for-domain"; | |
75 | |
67 #if !defined(OS_ANDROID) || BUILDFLAG(ENABLE_PLUGINS) | 76 #if !defined(OS_ANDROID) || BUILDFLAG(ENABLE_PLUGINS) |
68 // Use a media session for each tabs in a way that two tabs can't play on top of | 77 // Use a media session for each tabs in a way that two tabs can't play on top of |
69 // each other. This is different from the Media Session API as it is enabling a | 78 // each other. This is different from the Media Session API as it is enabling a |
70 // default behaviour for the browser. The allowed values are: "" (empty), | 79 // default behaviour for the browser. The allowed values are: "" (empty), |
71 // |kEnableDefaultMediaSessionDuckFlash|. | 80 // |kEnableDefaultMediaSessionDuckFlash|. |
72 const char kEnableDefaultMediaSession[] = "enable-default-media-session"; | 81 const char kEnableDefaultMediaSession[] = "enable-default-media-session"; |
73 #endif // !defined(OS_ANDROID) || BUILDFLAG(ENABLE_PLUGINS) | 82 #endif // !defined(OS_ANDROID) || BUILDFLAG(ENABLE_PLUGINS) |
74 | 83 |
75 #if BUILDFLAG(ENABLE_PLUGINS) | 84 #if BUILDFLAG(ENABLE_PLUGINS) |
76 // This value is used as an option for |kEnableDefaultMediaSession|. Flash will | 85 // This value is used as an option for |kEnableDefaultMediaSession|. Flash will |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
204 | 213 |
205 // An experimental feature to enable persistent-license type support in MediaDrm | 214 // An experimental feature to enable persistent-license type support in MediaDrm |
206 // when using Encrypted Media Extensions (EME) API. | 215 // when using Encrypted Media Extensions (EME) API. |
207 // TODO(xhwang): Remove this after feature launch. See http://crbug.com/493521 | 216 // TODO(xhwang): Remove this after feature launch. See http://crbug.com/493521 |
208 const base::Feature kMediaDrmPersistentLicense{ | 217 const base::Feature kMediaDrmPersistentLicense{ |
209 "MediaDrmPersistentLicense", base::FEATURE_DISABLED_BY_DEFAULT}; | 218 "MediaDrmPersistentLicense", base::FEATURE_DISABLED_BY_DEFAULT}; |
210 | 219 |
211 #endif | 220 #endif |
212 | 221 |
213 } // namespace media | 222 } // namespace media |
OLD | NEW |