chromium/chrome/common/extensions/api/side_panel/side_panel_info.cc

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

#include "chrome/common/extensions/api/side_panel/side_panel_info.h"

#include "base/files/file_util.h"
#include "chrome/common/extensions/api/side_panel.h"
#include "extensions/common/manifest.h"
#include "extensions/common/manifest_constants.h"

namespace extensions {

keys;
errors;

SidePanelManifestKeys;

namespace {

const SidePanelInfo* GetResourcesInfo(const Extension* extension) {}

std::unique_ptr<SidePanelInfo> ParseFromDictionary(const Extension& extension,
                                                   std::u16string* error) {}

bool ExtensionResourceExists(const Extension* extension,
                             const std::string& path) {}

}  // namespace

SidePanelInfo::SidePanelInfo() = default;

SidePanelInfo::~SidePanelInfo() = default;

// static
bool SidePanelInfo::HasSidePanel(const Extension* extension) {}

// static
std::string SidePanelInfo::GetDefaultPath(const Extension* extension) {}

SidePanelManifestHandler::SidePanelManifestHandler() = default;

SidePanelManifestHandler::~SidePanelManifestHandler() = default;

bool SidePanelManifestHandler::Parse(Extension* extension,
                                     std::u16string* error) {}

base::span<const char* const> SidePanelManifestHandler::Keys() const {}

bool SidePanelManifestHandler::Validate(
    const Extension* extension,
    std::string* error,
    std::vector<InstallWarning>* warnings) const {}

}  // namespace extensions