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

Unified Diff: media/base/pipeline.h

Issue 10832197: Add a lot of Pipeline tests to cover stopping/error handling while in a variety of states. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src
Patch Set: blah Created 8 years, 4 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/pipeline.h
diff --git a/media/base/pipeline.h b/media/base/pipeline.h
index 9dfbf556224b56ca1f3844a93290edfd5a9c3ecf..1632e39c2fe25d43825233ed023a6267dab70235 100644
--- a/media/base/pipeline.h
+++ b/media/base/pipeline.h
@@ -217,6 +217,7 @@ class MEDIA_EXPORT Pipeline
PipelineStatistics GetStatistics() const;
void SetClockForTesting(Clock* clock);
+ void SetErrorForTesting(PipelineStatus status);
private:
FRIEND_TEST_ALL_PREFIXES(PipelineTest, GetBufferedTimeRanges);

Powered by Google App Engine
This is Rietveld 408576698