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

Unified Diff: content/browser/media/media_devices_monitor.cc

Issue 183743021: Implement MediaCaptureDevices. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: try again Created 6 years, 9 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
Index: content/browser/media/media_devices_monitor.cc
diff --git a/content/browser/media/media_devices_monitor.cc b/content/browser/media/media_devices_monitor.cc
deleted file mode 100644
index 9f2c18353f186d31b28010fd2ee40e498fa90336..0000000000000000000000000000000000000000
--- a/content/browser/media/media_devices_monitor.cc
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "content/public/browser/media_devices_monitor.h"
-
-#include "content/browser/browser_main_loop.h"
-#include "content/browser/renderer_host/media/media_stream_manager.h"
-#include "content/public/browser/browser_thread.h"
-
-namespace content {
-namespace {
-void EnsureMonitorCaptureDevicesInternal(
- MediaStreamManager* media_stream_manager) {
- media_stream_manager->EnsureDeviceMonitorStarted();
-}
-}
-
-void EnsureMonitorCaptureDevices() {
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
-
- BrowserThread::PostTask(
- BrowserThread::IO, FROM_HERE,
- base::Bind(&EnsureMonitorCaptureDevicesInternal,
- BrowserMainLoop::GetInstance()->media_stream_manager()));
-}
-
-} // namespace content
« no previous file with comments | « chrome/browser/policy/policy_browsertest.cc ('k') | content/browser/renderer_host/media/media_capture_devices_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698