#include "chrome/browser/ui/views/media_preview/permission_prompt_previews_coordinator.h"
#include "base/check.h"
#include "base/notreached.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/views/media_preview/media_preview_metrics.h"
#include "chrome/browser/ui/views/media_preview/scroll_media_preview.h"
namespace {
MediaCoordinator::ViewType ComputePreviewType(
std::vector<std::string> requested_audio_capture_device_ids,
std::vector<std::string> requested_video_capture_device_ids) { … }
}
PermissionPromptPreviewsCoordinator::PermissionPromptPreviewsCoordinator(
Browser* browser,
views::View* parent_view,
size_t index,
std::vector<std::string> requested_audio_capture_device_ids,
std::vector<std::string> requested_video_capture_device_ids)
: … { … }
PermissionPromptPreviewsCoordinator::~PermissionPromptPreviewsCoordinator() { … }
void PermissionPromptPreviewsCoordinator::UpdateDevicePreferenceRanking() { … }