Save errno for logging before potentially overwriting it.
[chromium-blink-merge.git] / content / public / browser / media_devices_monitor.h
blob044c8ada064380fd15e2213da4b9ecd000b74165
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CONTENT_PUBLIC_BROWSER_MEDIA_DEVICES_MONITOR_H_
6 #define CONTENT_PUBLIC_BROWSER_MEDIA_DEVICES_MONITOR_H_
8 #include "content/common/content_export.h"
10 namespace content {
12 // Called to ensure the MediaStreamManager has started monitoring the capture
13 // devices, this will trigger OnAudioCaptureDevicesChanged() and
14 // OnVideoCaptureDevicesChanged() callbacks.
15 CONTENT_EXPORT void EnsureMonitorCaptureDevices();
17 } // namespace content
19 #endif // CONTENT_PUBLIC_BROWSER_MEDIA_DEVICES_MONITOR_H_