| Index: media/base/pipeline.cc
|
| diff --git a/media/base/pipeline.cc b/media/base/pipeline.cc
|
| index bdb748f59de2fd1941f8bba7e81bcee4f7bfd017..c1f63c40ea22734143788ea0c6557c259f6ab694 100644
|
| --- a/media/base/pipeline.cc
|
| +++ b/media/base/pipeline.cc
|
| @@ -260,6 +260,10 @@ void Pipeline::SetClockForTesting(Clock* clock) {
|
| clock_.reset(clock);
|
| }
|
|
|
| +void Pipeline::SetErrorForTesting(PipelineStatus status) {
|
| + SetError(status);
|
| +}
|
| +
|
| void Pipeline::SetState(State next_state) {
|
| if (state_ != kStarted && next_state == kStarted &&
|
| !creation_time_.is_null()) {
|
|
|