| Index: media/base/media_switches.cc
|
| diff --git a/media/base/media_switches.cc b/media/base/media_switches.cc
|
| index 03b4c7685e31a19cc1f8df94f6e719030fa783ec..ea473288adb9dc5dc97817e7c1cba9aaa391f82e 100644
|
| --- a/media/base/media_switches.cc
|
| +++ b/media/base/media_switches.cc
|
| @@ -64,6 +64,18 @@ const char kWaveOutBuffers[] = "waveout-buffers";
|
| const char kUseCras[] = "use-cras";
|
| #endif
|
|
|
| +// For automated testing of protected content, this switch allows specific
|
| +// domains (e.g. example.com) to skip asking the user for permission to share
|
| +// their personal identifier. In this context, domain does not include the
|
| +// port number. This flag will have no effect if user-data-dir is not set and
|
| +// will not affect the user's content settings.
|
| +// Reference: http://crbug.com/718608
|
| +// Example:
|
| +// --unsafely-allow-protected-media-identifier-for-domain=a.com,b.ca
|
| +// --user-data-dir=/test/only/profile/dir
|
| +const char kUnsafelyAllowProtectedMediaIdentifierForDomain[] =
|
| + "unsafely-allow-protected-media-identifier-for-domain";
|
| +
|
| #if !defined(OS_ANDROID) || BUILDFLAG(ENABLE_PLUGINS)
|
| // Use a media session for each tabs in a way that two tabs can't play on top of
|
| // each other. This is different from the Media Session API as it is enabling a
|
|
|