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(); |