chromium/extensions/common/manifest_handlers/webview_info.cc

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

#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;

// A PartitionItem represents a set of accessible resources given a partition
// ID pattern.
class PartitionItem {};

WebviewInfo::WebviewInfo(const ExtensionId& extension_id)
    :{}

WebviewInfo::~WebviewInfo() {}

// static
bool WebviewInfo::IsResourceWebviewAccessible(
    const Extension* extension,
    const std::string& partition_id,
    const std::string& relative_path) {}

// static
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 {}

}  // namespace extensions