chromium/chrome/browser/ui/views/media_preview/permission_prompt_previews_coordinator_unittest.cc

// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/browser/ui/views/media_preview/permission_prompt_previews_coordinator.h"

#include <optional>

#include "base/system/system_monitor.h"
#include "base/test/gtest_util.h"
#include "base/test/metrics/histogram_tester.h"
#include "base/test/test_future.h"
#include "chrome/browser/ui/views/frame/test_with_browser_view.h"
#include "components/media_effects/test/fake_audio_service.h"
#include "components/media_effects/test/fake_video_capture_service.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace {

constexpr char kCameraId[] =;
constexpr char kMicId[] =;

std::string ViewTypeToDurationHistogramName(
    MediaCoordinator::ViewType view_type) {}

}  // namespace

class PermissionPromptPreviewsCoordinatorTest : public TestWithBrowserView {};

TEST_F(PermissionPromptPreviewsCoordinatorTest, EligibleCamerasandMics) {}

TEST_F(PermissionPromptPreviewsCoordinatorTest, EligibleCameras) {}

TEST_F(PermissionPromptPreviewsCoordinatorTest, EligibleMics) {}

PermissionPromptPreviewsCoordinatorDeathTest;

TEST_F(PermissionPromptPreviewsCoordinatorDeathTest, NoEligibleDevices) {}