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

Unified Diff: content/browser/media_devices_monitor.cc

Issue 54863002: Implement a salt for MediaSource IDs that can be cleared by a user. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed jois nit. Created 7 years 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_devices_monitor.cc
diff --git a/content/browser/media_devices_monitor.cc b/content/browser/media_devices_monitor.cc
deleted file mode 100644
index 72c3b4b1cefcc1b7c9a4180d63abe780212cde5d..0000000000000000000000000000000000000000
--- a/content/browser/media_devices_monitor.cc
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright (c) 2012 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->EnumerateDevices(
- NULL, -1, -1, -1, MEDIA_DEVICE_AUDIO_CAPTURE, GURL());
-}
-}
-
-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 | « content/browser/media/media_devices_monitor.cc ('k') | content/browser/renderer_host/media/device_request_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698