#include "chrome/browser/extensions/api/messaging/incognito_connectability_infobar_delegate.h"
#include <utility>
#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 "ui/base/l10n/l10n_util.h"
namespace extensions {
infobars::InfoBar* IncognitoConnectabilityInfoBarDelegate::Create(
infobars::ContentInfoBarManager* infobar_manager,
const std::u16string& message,
IncognitoConnectabilityInfoBarDelegate::InfoBarCallback callback) { … }
IncognitoConnectabilityInfoBarDelegate::IncognitoConnectabilityInfoBarDelegate(
const std::u16string& message,
InfoBarCallback callback)
: … { … }
IncognitoConnectabilityInfoBarDelegate::
~IncognitoConnectabilityInfoBarDelegate() { … }
infobars::InfoBarDelegate::InfoBarIdentifier
IncognitoConnectabilityInfoBarDelegate::GetIdentifier() const { … }
std::u16string IncognitoConnectabilityInfoBarDelegate::GetMessageText() const { … }
std::u16string IncognitoConnectabilityInfoBarDelegate::GetButtonLabel(
InfoBarButton button) const { … }
bool IncognitoConnectabilityInfoBarDelegate::Accept() { … }
bool IncognitoConnectabilityInfoBarDelegate::Cancel() { … }
}