chromium/extensions/common/manifest_handlers/kiosk_mode_info.cc

// 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.

#include "extensions/common/manifest_handlers/kiosk_mode_info.h"

#include <memory>
#include <set>
#include <string>
#include <utility>

#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
#include "base/values.h"
#include "base/version.h"
#include "extensions/common/api/extensions_manifest_types.h"
#include "extensions/common/error_utils.h"
#include "extensions/common/features/behavior_feature.h"
#include "extensions/common/features/feature.h"
#include "extensions/common/features/feature_provider.h"
#include "extensions/common/manifest_constants.h"

namespace extensions {

keys;

KioskSecondaryAppsType;

namespace {

// Whether "enabled_on_launch" manifest property for the extension should be
// respected or not. If false, secondary apps that specify this property will
// be ignored.
bool AllowSecondaryAppEnabledOnLaunch(const Extension* extension) {}

}  // namespace

SecondaryKioskAppInfo::SecondaryKioskAppInfo(
    const extensions::ExtensionId& id,
    const std::optional<bool>& enabled_on_launch)
    :{}

SecondaryKioskAppInfo::SecondaryKioskAppInfo(
    const SecondaryKioskAppInfo& other) = default;

SecondaryKioskAppInfo::~SecondaryKioskAppInfo() = default;

KioskModeInfo::KioskModeInfo(
    KioskStatus kiosk_status,
    std::vector<SecondaryKioskAppInfo>&& secondary_apps,
    const std::string& required_platform_version,
    bool always_update)
    :{}

KioskModeInfo::~KioskModeInfo() {}

// static
KioskModeInfo* KioskModeInfo::Get(const Extension* extension) {}

// static
bool KioskModeInfo::IsKioskEnabled(const Extension* extension) {}

// static
bool KioskModeInfo::IsKioskOnly(const Extension* extension) {}

// static
bool KioskModeInfo::HasSecondaryApps(const Extension* extension) {}

// static
bool KioskModeInfo::IsValidPlatformVersion(const std::string& version_string) {}

KioskModeHandler::KioskModeHandler() {}

KioskModeHandler::~KioskModeHandler() {}

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

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

}  // namespace extensions