#include "chrome/browser/devtools/devtools_infobar_delegate.h"
#include "chrome/browser/devtools/global_confirm_info_bar.h"
#include "chrome/grit/generated_resources.h"
#include "ui/base/l10n/l10n_util.h"
void DevToolsInfoBarDelegate::Create(const std::u16string& message,
Callback callback) { … }
DevToolsInfoBarDelegate::DevToolsInfoBarDelegate(const std::u16string& message,
Callback callback)
: … { … }
DevToolsInfoBarDelegate::~DevToolsInfoBarDelegate() { … }
infobars::InfoBarDelegate::InfoBarIdentifier
DevToolsInfoBarDelegate::GetIdentifier() const { … }
std::u16string DevToolsInfoBarDelegate::GetMessageText() const { … }
std::u16string DevToolsInfoBarDelegate::GetButtonLabel(
InfoBarButton button) const { … }
bool DevToolsInfoBarDelegate::Accept() { … }
bool DevToolsInfoBarDelegate::Cancel() { … }