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

Unified Diff: content/browser/media/capture/web_contents_audio_muter.cc

Issue 1897953003: Unmute Tab Audio For Desktop Share (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Unittest Created 4 years, 7 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/capture/web_contents_audio_muter.cc
diff --git a/content/browser/media/capture/web_contents_audio_muter.cc b/content/browser/media/capture/web_contents_audio_muter.cc
index e99c768d4bcf3779e8e15e38843b0a031afbf0dc..63df637666d355e7e6b35ebc87a965ed43ea0272 100644
--- a/content/browser/media/capture/web_contents_audio_muter.cc
+++ b/content/browser/media/capture/web_contents_audio_muter.cc
@@ -104,7 +104,7 @@ class WebContentsAudioMuter::MuteDestination
if (contents_containing_frame == web_contents_)
matches.insert(*i);
}
- results_callback.Run(matches);
+ results_callback.Run(matches, false);
}
media::AudioOutputStream* AddInput(
@@ -112,6 +112,12 @@ class WebContentsAudioMuter::MuteDestination
return new AudioDiscarder(params);
}
+ media::AudioPushSink* AddPushInput(
+ const media::AudioParameters& params) override {
+ NOTREACHED();
+ return nullptr;
+ }
+
WebContents* const web_contents_;
DISALLOW_COPY_AND_ASSIGN(MuteDestination);

Powered by Google App Engine
This is Rietveld 408576698