blob: df17983214b4e58ee6da0153199c31d420e93f82 [file] [log] [blame]
// Copyright 2021 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_INFOBARS_CONFIRM_INFOBAR_CREATOR_H_
#define CHROME_BROWSER_INFOBARS_CONFIRM_INFOBAR_CREATOR_H_
#include <memory>
class ConfirmInfoBarDelegate;
namespace infobars {
class InfoBar;
}
// Cross-platform method for creating a confirm infobar.
std::unique_ptr<infobars::InfoBar> CreateConfirmInfoBar(
std::unique_ptr<ConfirmInfoBarDelegate> delegate);
#endif // CHROME_BROWSER_INFOBARS_CONFIRM_INFOBAR_CREATOR_H_