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

Unified Diff: content/test/webrtc_audio_device_test.cc

Issue 14335017: content: Use base::MessageLoop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 8 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/test/webrtc_audio_device_test.h ('k') | content/utility/utility_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/webrtc_audio_device_test.cc
diff --git a/content/test/webrtc_audio_device_test.cc b/content/test/webrtc_audio_device_test.cc
index e37679cb4ee7c1d0e2f513ac51ecf96a09983c89..7bd5b30bbe1c1a892d82dfeb1bfd34ed353f292d 100644
--- a/content/test/webrtc_audio_device_test.cc
+++ b/content/test/webrtc_audio_device_test.cc
@@ -117,7 +117,7 @@ class MockRTCResourceContext : public ResourceContext {
};
ACTION_P(QuitMessageLoop, loop_or_proxy) {
- loop_or_proxy->PostTask(FROM_HERE, MessageLoop::QuitClosure());
+ loop_or_proxy->PostTask(FROM_HERE, base::MessageLoop::QuitClosure());
}
WebRTCAudioDeviceTest::WebRTCAudioDeviceTest()
@@ -135,8 +135,8 @@ void WebRTCAudioDeviceTest::SetUp() {
saved_content_renderer_.reset(
new ReplaceContentClientRenderer(&content_renderer_client_));
mock_process_.reset(new WebRTCMockRenderProcess());
- ui_thread_.reset(new TestBrowserThread(BrowserThread::UI,
- MessageLoop::current()));
+ ui_thread_.reset(
+ new TestBrowserThread(BrowserThread::UI, base::MessageLoop::current()));
// Construct the resource context on the UI thread.
resource_context_.reset(new MockRTCResourceContext);
@@ -202,8 +202,8 @@ void WebRTCAudioDeviceTest::InitializeIOThread(const char* thread_name) {
#endif
// Set the current thread as the IO thread.
- io_thread_.reset(new TestBrowserThread(BrowserThread::IO,
- MessageLoop::current()));
+ io_thread_.reset(
+ new TestBrowserThread(BrowserThread::IO, base::MessageLoop::current()));
// Populate our resource context.
test_request_context_.reset(new net::TestURLRequestContext());
« no previous file with comments | « content/test/webrtc_audio_device_test.h ('k') | content/utility/utility_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698