permission_test_util.h 649 B

12345678910111213141516171819202122
  1. // Copyright 2022 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifndef COMPONENTS_PERMISSIONS_TEST_PERMISSION_TEST_UTIL_H_
  5. #define COMPONENTS_PERMISSIONS_TEST_PERMISSION_TEST_UTIL_H_
  6. #include <memory>
  7. namespace content {
  8. class PermissionControllerDelegate;
  9. class BrowserContext;
  10. } // namespace content
  11. namespace permissions {
  12. std::unique_ptr<content::PermissionControllerDelegate>
  13. GetPermissionControllerDelegate(content::BrowserContext* context);
  14. } // namespace permissions
  15. #endif // COMPONENTS_PERMISSIONS_TEST_PERMISSION_TEST_UTIL_H_