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

Unified Diff: content/browser/renderer_host/media/audio_input_renderer_host.cc

Issue 1503563004: Desktop chrome tab capture-chooseDesktopMedia() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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/renderer_host/media/audio_input_renderer_host.cc
diff --git a/content/browser/renderer_host/media/audio_input_renderer_host.cc b/content/browser/renderer_host/media/audio_input_renderer_host.cc
index e338f0b2a89f22e974c56829e7e704639b8ac0a8..60f64596171d72fe06f4c38f48952100e173bd55 100644
--- a/content/browser/renderer_host/media/audio_input_renderer_host.cc
+++ b/content/browser/renderer_host/media/audio_input_renderer_host.cc
@@ -17,13 +17,13 @@
#include "base/strings/stringprintf.h"
#include "build/build_config.h"
#include "content/browser/media/capture/web_contents_audio_input_stream.h"
-#include "content/browser/media/capture/web_contents_capture_util.h"
#include "content/browser/media/media_internals.h"
#include "content/browser/media/webrtc_internals.h"
#include "content/browser/renderer_host/media/audio_input_debug_writer.h"
#include "content/browser/renderer_host/media/audio_input_device_manager.h"
#include "content/browser/renderer_host/media/audio_input_sync_writer.h"
#include "content/browser/renderer_host/media/media_stream_manager.h"
+#include "content/public/browser/web_contents_media_capture_id.h"
#include "media/audio/audio_manager_base.h"
#include "media/base/audio_bus.h"
@@ -442,7 +442,7 @@ void AudioInputRendererHost::DoCreateStream(
// If we have successfully created the SyncWriter then assign it to the
// entry and construct an AudioInputController.
entry->writer.reset(writer.release());
- if (WebContentsCaptureUtil::IsWebContentsDeviceId(device_id)) {
+ if (WebContentsMediaCaptureId::IsWebContentsDeviceId(device_id)) {
entry->controller = media::AudioInputController::CreateForStream(
audio_manager_->GetTaskRunner(),
this,

Powered by Google App Engine
This is Rietveld 408576698