chromium/extensions/common/manifest_handlers/app_display_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 "extensions/common/manifest_handlers/app_display_info.h"

#include "base/values.h"
#include "extensions/common/extension.h"
#include "extensions/common/manifest.h"
#include "extensions/common/manifest_constants.h"

namespace extensions {

keys;
errors;

namespace {

// This info is used for both the kDisplayInLauncher and kDisplayInNewTabPage
// keys, but we just arbitrarily pick one to store it under in the manifest.
const char* kAppDisplayInfoKey =;

AppDisplayInfo* GetAppDisplayInfo(const Extension& extension) {}

}  // namespace

AppDisplayInfo::AppDisplayInfo(bool display_in_launcher,
                               bool display_in_new_tab_page)
    :{}
AppDisplayInfo::~AppDisplayInfo() = default;

bool AppDisplayInfo::RequiresSortOrdinal(const Extension& extension) {}

bool AppDisplayInfo::ShouldDisplayInAppLauncher(const Extension& extension) {}

bool AppDisplayInfo::ShouldDisplayInNewTabPage(const Extension& extension) {}

AppDisplayManifestHandler::AppDisplayManifestHandler() = default;
AppDisplayManifestHandler::~AppDisplayManifestHandler() = default;

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

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

bool AppDisplayManifestHandler::AlwaysParseForType(Manifest::Type type) const {}

}  // namespace extensions