Florent Castelli | 8764dd45 | 2023-02-09 13:43:30 | [diff] [blame] | 1 | // Copyright 2023 The Chromium Authors |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #ifndef CONTENT_BROWSER_VIDEO_CAPTURE_SERVICE_IMPL_H_ |
| 6 | #define CONTENT_BROWSER_VIDEO_CAPTURE_SERVICE_IMPL_H_ |
| 7 | |
| 8 | #include "content/common/content_export.h" |
| 9 | #include "services/video_capture/public/mojom/video_capture_service.mojom-forward.h" |
| 10 | |
| 11 | namespace content { |
| 12 | |
| 13 | // Enables a safe-mode VideoCaptureService. |
| 14 | // On macOS, this disables 3rd-party DAL plugins from being loaded. |
| 15 | // It currently has no effect on other platforms. |
| 16 | void EnableVideoCaptureServiceSafeMode(); |
| 17 | |
| 18 | } // namespace content |
| 19 | |
| 20 | #endif // CONTENT_BROWSER_VIDEO_CAPTURE_SERVICE_IMPL_H_ |