// Copyright 2016 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CONTENT_BROWSER_MEDIA_MEDIA_DEVICES_PERMISSION_CHECKER_H_ #define CONTENT_BROWSER_MEDIA_MEDIA_DEVICES_PERMISSION_CHECKER_H_ #include "base/functional/callback.h" #include "content/browser/renderer_host/media/media_devices_manager.h" #include "content/common/content_export.h" MediaDeviceType; namespace content { // This class provides various utility functions to check if a render frame // has permission to access media devices. Note that none of the methods // prompts the user to request permission. class CONTENT_EXPORT MediaDevicesPermissionChecker { … }; } // namespace content #endif // CONTENT_BROWSER_MEDIA_MEDIA_DEVICES_PERMISSION_CHECKER_H_