chromium/extensions/browser/api/web_request/permission_helper.h

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

#ifndef EXTENSIONS_BROWSER_API_WEB_REQUEST_PERMISSION_HELPER_H_
#define EXTENSIONS_BROWSER_API_WEB_REQUEST_PERMISSION_HELPER_H_

#include "base/memory/raw_ptr.h"
#include "extensions/browser/browser_context_keyed_api_factory.h"
#include "extensions/browser/process_map.h"

namespace extensions {
class ExtensionRegistry;
class ProcessMap;
struct WebRequestInfo;

// Intermediate keyed service used to declare dependencies on other services
// that are needed for WebRequest permissions.
class PermissionHelper : public BrowserContextKeyedAPI {};

template <>
void BrowserContextKeyedAPIFactory<
    PermissionHelper>::DeclareFactoryDependencies();

}  // namespace extensions

#endif  // EXTENSIONS_BROWSER_API_WEB_REQUEST_PERMISSION_HELPER_H_