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

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: 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 1d50f04e6495d49fb64c2f9742d04970905eadba..f943f98b72ddac0624c1efac3a65ff278d258951 100644
--- a/media/base/pipeline.h
+++ b/media/base/pipeline.h
@@ -220,6 +220,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