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

Unified Diff: media/base/test_helpers.cc

Issue 1666653002: media: Remove SetCdmReadyCB and CdmReadyCB (part 1). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase and fix compile errors Created 4 years, 10 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/base/test_helpers.h ('k') | media/base/video_decoder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/test_helpers.cc
diff --git a/media/base/test_helpers.cc b/media/base/test_helpers.cc
index 4b2128296b178048f76cbf7ee6c34bf0553de40b..b88450457c2f20825fc5c1cd087783e44bd6727f 100644
--- a/media/base/test_helpers.cc
+++ b/media/base/test_helpers.cc
@@ -262,21 +262,4 @@ bool VerifyFakeVideoBufferForTest(
height == config.coded_size().height());
}
-CallbackPairChecker::CallbackPairChecker() : expecting_b_(false) {
-}
-
-CallbackPairChecker::~CallbackPairChecker() {
- EXPECT_FALSE(expecting_b_);
-}
-
-void CallbackPairChecker::RecordACalled() {
- EXPECT_FALSE(expecting_b_);
- expecting_b_ = true;
-}
-
-void CallbackPairChecker::RecordBCalled() {
- EXPECT_TRUE(expecting_b_);
- expecting_b_ = false;
-}
-
} // namespace media
« no previous file with comments | « media/base/test_helpers.h ('k') | media/base/video_decoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698