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

Unified Diff: content/test/webrtc_audio_device_test.h

Issue 66183002: Replace MessageLoopProxy with SingleThreadTaskRunner for the rest of media/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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: content/test/webrtc_audio_device_test.h
diff --git a/content/test/webrtc_audio_device_test.h b/content/test/webrtc_audio_device_test.h
index b22d7d91a92d00d2aa7033ea52ab5c20485e9b5b..eba9a946d1e730bd29ba3f34c3cf985dfc1b8154 100644
--- a/content/test/webrtc_audio_device_test.h
+++ b/content/test/webrtc_audio_device_test.h
@@ -10,7 +10,6 @@
#include "base/files/file_path.h"
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
-#include "base/message_loop/message_loop.h"
#include "content/browser/renderer_host/media/mock_media_observer.h"
#include "content/public/renderer/content_renderer_client.h"
#include "ipc/ipc_listener.h"
@@ -153,7 +152,8 @@ class MAYBE_WebRTCAudioDeviceTest : public ::testing::Test,
// Posts a final task to the IO message loop and waits for completion.
void WaitForIOThreadCompletion();
void WaitForAudioManagerCompletion();
- void WaitForMessageLoopCompletion(base::MessageLoopProxy* loop);
+ void WaitForTaskRunnerCompletion(
+ const scoped_refptr<base::SingleThreadTaskRunner>& task_runner);
// Convenience getter for gmock.
MockMediaInternals& media_observer() const {

Powered by Google App Engine
This is Rietveld 408576698