#include "chrome/browser/ui/page_info/page_info_infobar_delegate.h"
#include "base/check_op.h"
#include "base/strings/utf_string_conversions.h"
#include "build/build_config.h"
#include "chrome/browser/infobars/confirm_infobar_creator.h"
#include "components/infobars/content/content_infobar_manager.h"
#include "components/infobars/core/infobar.h"
#include "components/strings/grit/components_strings.h"
#include "components/vector_icons/vector_icons.h"
#include "content/public/browser/web_contents.h"
#include "ui/base/l10n/l10n_util.h"
void PageInfoInfoBarDelegate::Create(
infobars::ContentInfoBarManager* infobar_manager) { … }
PageInfoInfoBarDelegate::PageInfoInfoBarDelegate() = default;
PageInfoInfoBarDelegate::~PageInfoInfoBarDelegate() { … }
infobars::InfoBarDelegate::InfoBarIdentifier
PageInfoInfoBarDelegate::GetIdentifier() const { … }
const gfx::VectorIcon& PageInfoInfoBarDelegate::GetVectorIcon() const { … }
std::u16string PageInfoInfoBarDelegate::GetMessageText() const { … }
int PageInfoInfoBarDelegate::GetButtons() const { … }
std::u16string PageInfoInfoBarDelegate::GetButtonLabel(
InfoBarButton button) const { … }
bool PageInfoInfoBarDelegate::Accept() { … }