Index: chrome/browser/policy/policy_browsertest.cc |
diff --git a/chrome/browser/policy/policy_browsertest.cc b/chrome/browser/policy/policy_browsertest.cc |
index 55a0ca9e1f5e1ccf7cb4b76a004eeabdf2744b9f..35fbfe31831a70fe8c2d9cdacc6277c03122486b 100644 |
--- a/chrome/browser/policy/policy_browsertest.cc |
+++ b/chrome/browser/policy/policy_browsertest.cc |
@@ -2794,7 +2794,7 @@ IN_PROC_BROWSER_TEST_P(MediaStreamDevicesControllerBrowserTest, |
content::BrowserThread::PostTaskAndReply( |
content::BrowserThread::IO, FROM_HERE, |
- base::Bind(&MediaCaptureDevicesDispatcher::OnAudioCaptureDevicesChanged, |
+ base::Bind(&MediaCaptureDevicesDispatcher::SetTestAudioCaptureDevices, |
base::Unretained(MediaCaptureDevicesDispatcher::GetInstance()), |
audio_devices), |
base::Bind(&MediaStreamDevicesControllerBrowserTest::FinishAudioTest, |
@@ -2827,7 +2827,7 @@ IN_PROC_BROWSER_TEST_P(MediaStreamDevicesControllerBrowserTest, |
content::BrowserThread::PostTaskAndReply( |
content::BrowserThread::IO, FROM_HERE, |
base::Bind( |
- &MediaCaptureDevicesDispatcher::OnAudioCaptureDevicesChanged, |
+ &MediaCaptureDevicesDispatcher::SetTestAudioCaptureDevices, |
base::Unretained(MediaCaptureDevicesDispatcher::GetInstance()), |
audio_devices), |
base::Bind( |
@@ -2851,7 +2851,7 @@ IN_PROC_BROWSER_TEST_P(MediaStreamDevicesControllerBrowserTest, |
content::BrowserThread::PostTaskAndReply( |
content::BrowserThread::IO, FROM_HERE, |
- base::Bind(&MediaCaptureDevicesDispatcher::OnVideoCaptureDevicesChanged, |
+ base::Bind(&MediaCaptureDevicesDispatcher::SetTestVideoCaptureDevices, |
base::Unretained(MediaCaptureDevicesDispatcher::GetInstance()), |
video_devices), |
base::Bind(&MediaStreamDevicesControllerBrowserTest::FinishVideoTest, |
@@ -2883,8 +2883,7 @@ IN_PROC_BROWSER_TEST_P(MediaStreamDevicesControllerBrowserTest, |
content::BrowserThread::PostTaskAndReply( |
content::BrowserThread::IO, FROM_HERE, |
- base::Bind( |
- &MediaCaptureDevicesDispatcher::OnVideoCaptureDevicesChanged, |
+ base::Bind(&MediaCaptureDevicesDispatcher::SetTestVideoCaptureDevices, |
base::Unretained(MediaCaptureDevicesDispatcher::GetInstance()), |
video_devices), |
base::Bind( |