Chromium Code Reviews| Index: media/base/test_helpers.h |
| diff --git a/media/base/test_helpers.h b/media/base/test_helpers.h |
| index bba60c9af38f3e382e1434ec1d77eda0bf52587e..ca78697cb3ace1155c85c365a82cef6a413900a6 100644 |
| --- a/media/base/test_helpers.h |
| +++ b/media/base/test_helpers.h |
| @@ -42,6 +42,7 @@ PipelineStatusCB NewExpectedStatusCB(PipelineStatus status); |
| class WaitableMessageLoopEvent { |
| public: |
| WaitableMessageLoopEvent(); |
| + explicit WaitableMessageLoopEvent(base::TimeDelta timeout); |
| ~WaitableMessageLoopEvent(); |
| // Returns a thread-safe closure that will signal |this| when executed. |
| @@ -69,6 +70,7 @@ class WaitableMessageLoopEvent { |
| bool signaled_; |
| PipelineStatus status_; |
| std::unique_ptr<base::RunLoop> run_loop_; |
| + base::TimeDelta timeout_; |
|
tommi (sloooow) - chröme
2016/05/31 15:32:24
const?
|
| DISALLOW_COPY_AND_ASSIGN(WaitableMessageLoopEvent); |
| }; |