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

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

Issue 757033005: Make tab audible and muted states and cause available for an extension API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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/capture/web_contents_audio_input_stream.cc
diff --git a/content/browser/media/capture/web_contents_audio_input_stream.cc b/content/browser/media/capture/web_contents_audio_input_stream.cc
index 605124dd30848e20e6223c7f143baaa9e8003a0e..119c5121a402b3dd717826908e18ad4adf9028f6 100644
--- a/content/browser/media/capture/web_contents_audio_input_stream.cc
+++ b/content/browser/media/capture/web_contents_audio_input_stream.cc
@@ -251,7 +251,7 @@ void WebContentsAudioInputStream::Impl::UnmuteWebContentsAudio() {
WebContents* const contents = tracker_->web_contents();
if (contents)
- contents->SetAudioMuted(false);
+ contents->SetAudioMuted(false, "user");
miu 2014/12/05 23:46:48 You won't be able to reference that string constan
}
void WebContentsAudioInputStream::Impl::QueryForMatches(

Powered by Google App Engine
This is Rietveld 408576698