// Copyright 2013 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_COMMON_MANIFEST_HANDLERS_CSP_INFO_H_ #define EXTENSIONS_COMMON_MANIFEST_HANDLERS_CSP_INFO_H_ #include <string> #include <string_view> #include "extensions/common/extension.h" #include "extensions/common/manifest_handler.h" namespace extensions { // A structure to hold the Content-Security-Policy information. struct CSPInfo : public Extension::ManifestData { … }; // Parses "content_security_policy", "app.content_security_policy" and // "sandbox.content_security_policy" manifest keys. class CSPHandler : public ManifestHandler { … }; } // namespace extensions #endif // EXTENSIONS_COMMON_MANIFEST_HANDLERS_CSP_INFO_H_