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

Unified Diff: media/base/test_helpers.h

Issue 2021273002: Extending timeout for AudioRendererSinkCacheTest.SmokeTest (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: adding forgotten const Created 4 years, 7 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
« no previous file with comments | « content/renderer/media/audio_renderer_sink_cache_unittest.cc ('k') | media/base/test_helpers.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/test_helpers.h
diff --git a/media/base/test_helpers.h b/media/base/test_helpers.h
index bba60c9af38f3e382e1434ec1d77eda0bf52587e..c528b78387f80abdb6e7e395d0c40b2d83456626 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_;
+ const base::TimeDelta timeout_;
DISALLOW_COPY_AND_ASSIGN(WaitableMessageLoopEvent);
};
« no previous file with comments | « content/renderer/media/audio_renderer_sink_cache_unittest.cc ('k') | media/base/test_helpers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698