// Copyright 2022 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_PUBLIC_TEST_MOCK_PERMISSION_CONTROLLER_H_ #define CONTENT_PUBLIC_TEST_MOCK_PERMISSION_CONTROLLER_H_ #include "content/public/browser/permission_controller.h" #include "content/public/browser/permission_result.h" #include "testing/gmock/include/gmock/gmock.h" namespace blink { enum class PermissionType; } namespace url { class Origin; } namespace content { // Mock of the permission controller for unit tests. class MockPermissionController : public PermissionController { … }; } // namespace content #endif // CONTENT_PUBLIC_TEST_MOCK_PERMISSION_CONTROLLER_H_