#include "extensions/common/manifest_handlers/webview_info.h"
#include <stddef.h>
#include <memory>
#include <utility>
#include "base/strings/pattern.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
#include "base/values.h"
#include "extensions/common/error_utils.h"
#include "extensions/common/manifest.h"
#include "extensions/common/manifest_constants.h"
namespace extensions {
keys;
errors;
class PartitionItem { … };
WebviewInfo::WebviewInfo(const ExtensionId& extension_id)
: … { … }
WebviewInfo::~WebviewInfo() { … }
bool WebviewInfo::IsResourceWebviewAccessible(
const Extension* extension,
const std::string& partition_id,
const std::string& relative_path) { … }
bool WebviewInfo::HasWebviewAccessibleResources(
const Extension& extension,
const std::string& partition_id) { … }
void WebviewInfo::AddPartitionItem(std::unique_ptr<PartitionItem> item) { … }
WebviewHandler::WebviewHandler() = default;
WebviewHandler::~WebviewHandler() = default;
bool WebviewHandler::Parse(Extension* extension, std::u16string* error) { … }
base::span<const char* const> WebviewHandler::Keys() const { … }
}