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

Unified Diff: media/audio/mac/audio_device_listener_mac_unittest.cc

Issue 1083883003: Move BindToCurrentLoop from media/base/ to base/ Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix media/base/callback_holder.h compile Created 5 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/renderer/pepper/pepper_video_encoder_host.cc ('k') | media/audio/mac/audio_manager_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/mac/audio_device_listener_mac_unittest.cc
diff --git a/media/audio/mac/audio_device_listener_mac_unittest.cc b/media/audio/mac/audio_device_listener_mac_unittest.cc
index 12c88b651a76c255bcf49bc90775f10d43f1b734..decc577029df8d08b86453c8e8e2256276b4f3d4 100644
--- a/media/audio/mac/audio_device_listener_mac_unittest.cc
+++ b/media/audio/mac/audio_device_listener_mac_unittest.cc
@@ -6,10 +6,10 @@
#include "base/bind.h"
#include "base/bind_helpers.h"
+#include "base/bind_to_current_loop.h"
#include "base/memory/scoped_ptr.h"
#include "base/message_loop/message_loop.h"
#include "media/audio/mac/audio_device_listener_mac.h"
-#include "media/base/bind_to_current_loop.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -38,9 +38,10 @@ class AudioDeviceListenerMacTest : public testing::Test {
void CreateDeviceListener() {
// Force a post task using BindToCurrentLoop() to ensure device listener
// internals are working correctly.
- output_device_listener_.reset(new AudioDeviceListenerMac(BindToCurrentLoop(
- base::Bind(&AudioDeviceListenerMacTest::OnDeviceChange,
- base::Unretained(this)))));
+ output_device_listener_.reset(new AudioDeviceListenerMac(
+ base::BindToCurrentLoop(base::Bind(
+ &AudioDeviceListenerMacTest::OnDeviceChange,
+ base::Unretained(this)))));
}
void DestroyDeviceListener() {
« no previous file with comments | « content/renderer/pepper/pepper_video_encoder_host.cc ('k') | media/audio/mac/audio_manager_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698