chromium/chrome/browser/ui/javascript_dialogs/chrome_app_modal_dialog_manager_delegate.cc

// Copyright 2023 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/browser/ui/javascript_dialogs/chrome_app_modal_dialog_manager_delegate.h"

#include <string>

#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/url_identity.h"
#include "components/javascript_dialogs/app_modal_dialog_manager.h"
#include "components/strings/grit/components_strings.h"
#include "content/public/browser/web_contents.h"
#include "ui/base/l10n/l10n_util.h"
#include "url/origin.h"

namespace {
// Expected URL types for `UrlIdentity::CreateFromUrl(`.
constexpr UrlIdentity::TypeSet kUrlIdentityAllowedTypes =;
constexpr UrlIdentity::FormatOptions kUrlIdentityOptions =;
}  // namespace

ChromeAppModalDialogManagerDelegate::~ChromeAppModalDialogManagerDelegate() =
    default;

std::u16string ChromeAppModalDialogManagerDelegate::GetTitle(
    content::WebContents* web_contents,
    const url::Origin& origin) {}