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

Unified Diff: media/base/mock_filters.h

Issue 10828045: Rewrite media::Pipeline state transition machinery. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src
Patch Set: stuff Created 8 years, 5 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
Index: media/base/mock_filters.h
diff --git a/media/base/mock_filters.h b/media/base/mock_filters.h
index 3688a95664916942509ca6c49882c98bdc584f20..96a5df6f66b15b297120b0f8910c4228ddc2c03a 100644
--- a/media/base/mock_filters.h
+++ b/media/base/mock_filters.h
@@ -279,17 +279,6 @@ class MockFilterCollection {
DISALLOW_COPY_AND_ASSIGN(MockFilterCollection);
};
-// Helper gmock action that calls SetError() on behalf of the provided filter.
-ACTION_P2(SetError, filter, error) {
- filter->host()->SetError(error);
-}
-
-// Helper gmock action that calls SetDuration() on behalf of the provided
-// filter.
-ACTION_P2(SetDuration, filter, duration) {
- filter->host()->SetDuration(duration);
-}
-
ACTION(RunClosure) {
arg0.Run();
}
« no previous file with comments | « media/base/media_log.cc ('k') | media/base/pipeline.h » ('j') | media/base/pipeline.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698