blob: e731751e72498ce2b1f972d784f07bffe829af69 [file] [log] [blame]
// Copyright 2014 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 IOS_CHROME_BROWSER_INFOBARS_INFOBAR_UTILS_H_
#define IOS_CHROME_BROWSER_INFOBARS_INFOBAR_UTILS_H_
#include "base/memory/scoped_ptr.h"
class ConfirmInfoBarDelegate;
namespace infobars {
class InfoBar;
}
// Returns a confirm infobar that owns |delegate|.
// Visible for testing.
scoped_ptr<infobars::InfoBar> CreateConfirmInfoBar(
scoped_ptr<ConfirmInfoBarDelegate> delegate);
#endif // IOS_CHROME_BROWSER_INFOBARS_INFOBAR_UTILS_H_