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

Unified Diff: content/browser/renderer_host/media/media_stream_manager.h

Issue 596233003: Move ensure keyboard mic check in MediaStreamManager to SetupRequest. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@kmic_test
Patch Set: Use the proper base file. Created 6 years, 3 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
« no previous file with comments | « no previous file | content/browser/renderer_host/media/media_stream_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/media/media_stream_manager.h
diff --git a/content/browser/renderer_host/media/media_stream_manager.h b/content/browser/renderer_host/media/media_stream_manager.h
index a8c859289e63144e3534c8ee6058be6b9fe948e0..e23c73ba901fe9d774bda412d17594c680124f3f 100644
--- a/content/browser/renderer_host/media/media_stream_manager.h
+++ b/content/browser/renderer_host/media/media_stream_manager.h
@@ -364,6 +364,11 @@ class CONTENT_EXPORT MediaStreamManager
gfx::NativeViewId window_id);
#if defined(OS_CHROMEOS)
+ // Ensures that we have checked for presence of a keyboard mic. This is only
+ // done once. This function should be called before posting a request on the
+ // UI thread.
+ void EnsureKeyboardMicChecked();
+
// Checks if the system has a keyboard mic, and if so, inform the audio
// manager via SetKeyboardMicOnDeviceThread().
void CheckKeyboardMicOnUIThread();
« no previous file with comments | « no previous file | content/browser/renderer_host/media/media_stream_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698