Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1490)

Unified Diff: media/filters/decrypting_video_decoder_unittest.cc

Issue 2812043002: decrypting_{audio,video}_decoder_unittest.cc: Remove dead code. (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/filters/decrypting_audio_decoder_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/decrypting_video_decoder_unittest.cc
diff --git a/media/filters/decrypting_video_decoder_unittest.cc b/media/filters/decrypting_video_decoder_unittest.cc
index 0e3b16939f88198b11fecbfceb2f30512c75f98f..7f1b02966faa921470f1013036b1bf3027f97597 100644
--- a/media/filters/decrypting_video_decoder_unittest.cc
+++ b/media/filters/decrypting_video_decoder_unittest.cc
@@ -45,16 +45,6 @@ static scoped_refptr<DecoderBuffer> CreateFakeEncryptedBuffer() {
return buffer;
}
-// Use anonymous namespace here to prevent the actions to be defined multiple
-// times across multiple test files. Sadly we can't use static for them.
-namespace {
-
-ACTION_P3(ResetAndRunCallback, callback, p1, p2) {
- base::ResetAndReturn(callback).Run(p1, p2);
-}
-
-} // namespace
-
class DecryptingVideoDecoderTest : public testing::Test {
public:
DecryptingVideoDecoderTest()
« no previous file with comments | « media/filters/decrypting_audio_decoder_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698