chromium/components/permissions/contexts/camera_pan_tilt_zoom_permission_context_unittest.cc

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

#include "components/permissions/contexts/camera_pan_tilt_zoom_permission_context.h"

#include "base/memory/raw_ptr.h"
#include "components/content_settings/core/browser/host_content_settings_map.h"
#include "components/content_settings/core/common/content_settings.h"
#include "components/content_settings/core/common/content_settings_types.h"
#include "components/permissions/permissions_client.h"
#include "components/permissions/test/test_permissions_client.h"
#include "components/webrtc/media_stream_device_enumerator_impl.h"
#include "content/public/test/test_renderer_host.h"

namespace {

struct TestConfig {};

// Waits until a change is observed for a specific content setting type.
class ContentSettingsChangeWaiter : public content_settings::Observer {};

}  // namespace

namespace permissions {

namespace {
class TestCameraPanTiltZoomPermissionContextDelegate
    : public CameraPanTiltZoomPermissionContext::Delegate {};
}  // namespace

class CameraPanTiltZoomPermissionContextTests
    : public content::RenderViewHostTestHarness,
      public testing::WithParamInterface<TestConfig> {};

class CameraContentSettingTests
    : public CameraPanTiltZoomPermissionContextTests {};

TEST_P(CameraContentSettingTests, TestResetPermissionOnCameraChange) {}

INSTANTIATE_TEST_SUITE_P();

class CameraPanTiltZoomContentSettingTests
    : public CameraPanTiltZoomPermissionContextTests {};

TEST_P(CameraPanTiltZoomContentSettingTests,
       TestCameraPermissionOnCameraPanTiltZoomChange) {}

INSTANTIATE_TEST_SUITE_P();

}  // namespace permissions