Index: chrome/browser/media/encrypted_media_browsertest.cc |
diff --git a/chrome/browser/media/encrypted_media_browsertest.cc b/chrome/browser/media/encrypted_media_browsertest.cc |
index 38362afab1c4225a45cb932a3e50cf3ef99f99a0..771eeae4223d01400626d8f0885990ce4f9f886c 100644 |
--- a/chrome/browser/media/encrypted_media_browsertest.cc |
+++ b/chrome/browser/media/encrypted_media_browsertest.cc |
@@ -337,13 +337,13 @@ class ECKEncryptedMediaTest : public EncryptedMediaTestBase { |
// Tests encrypted media playback using ExternalClearKey key system in |
// decrypt-and-decode mode for unprefixed EME. |
-// TODO(jrummell): Merge with ECKEncryptedMediaTest once unprefixed is |
-// enabled by default. |
+// TODO(jrummell): Make ECKEncryptedMediaTest run the unprefixed tests and add |
+// a prefixed class to run the prefixed tests. (Once prefixed is disabled by |
+// default, we will need a subclass to enable it from the command line.) |
class ECKUnprefixedEncryptedMediaTest : public EncryptedMediaTestBase { |
protected: |
void SetUpCommandLine(base::CommandLine* command_line) override { |
EncryptedMediaTestBase::SetUpCommandLine(command_line); |
- command_line->AppendSwitch(switches::kEnableEncryptedMedia); |
SetUpCommandLineForKeySystem(kExternalClearKeyKeySystem, command_line); |
} |
}; |
@@ -354,7 +354,6 @@ class WVEncryptedMediaTest : public EncryptedMediaTestBase { |
protected: |
void SetUpCommandLine(base::CommandLine* command_line) override { |
EncryptedMediaTestBase::SetUpCommandLine(command_line); |
- command_line->AppendSwitch(switches::kEnableEncryptedMedia); |
SetUpCommandLineForKeySystem(kWidevineKeySystem, command_line); |
} |
}; |
@@ -437,9 +436,6 @@ class EncryptedMediaTest |
void SetUpCommandLine(base::CommandLine* command_line) override { |
EncryptedMediaTestBase::SetUpCommandLine(command_line); |
SetUpCommandLineForKeySystem(CurrentKeySystem(), command_line); |
- |
- if (CurrentEmeVersion() == UNPREFIXED) |
- command_line->AppendSwitch(switches::kEnableEncryptedMedia); |
} |
}; |