chromium/chrome/browser/ui/views/supervised_user/extension_install_blocked_by_parent_dialog.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 <string>
#include <utility>

#include "chrome/browser/ui/extensions/extensions_dialogs.h"
#include "chrome/grit/branded_strings.h"
#include "chrome/grit/generated_resources.h"
#include "chromeos/ui/vector_icons/vector_icons.h"
#include "components/constrained_window/constrained_window_views.h"
#include "components/strings/grit/components_strings.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/web_contents.h"
#include "extensions/common/extension.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/models/dialog_model.h"
#include "ui/base/models/image_model.h"
#include "ui/gfx/paint_vector_icon.h"

namespace {

std::u16string GetExtensionType(const extensions::Extension* extension) {}

std::u16string GetTitle(
    extensions::ExtensionInstalledBlockedByParentDialogAction action,
    std::u16string extension_type) {}
}  // namespace

namespace extensions {

DEFINE_ELEMENT_IDENTIFIER_VALUE(kParentBlockedDialogMessage);

void ShowExtensionInstallBlockedByParentDialog(
    ExtensionInstalledBlockedByParentDialogAction action,
    const extensions::Extension* extension,
    content::WebContents* web_contents,
    base::OnceClosure done_callback) {}

}  // namespace extensions