blob: 1d62a77ba8a843a881ef79f726a3ae2c4d61fce0 [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_UI_STARTUP_INFOBAR_UTILS_H_
#define CHROME_BROWSER_UI_STARTUP_INFOBAR_UTILS_H_
#include "chrome/browser/ui/startup/startup_types.h"
class Browser;
class Profile;
namespace base {
class CommandLine;
}
// Adds any startup infobars to the selected tab of the given browser.
void AddInfoBarsIfNecessary(Browser* browser,
Profile* profile,
const base::CommandLine& startup_command_line,
chrome::startup::IsFirstRun is_first_run,
bool is_web_app);
#endif // CHROME_BROWSER_UI_STARTUP_INFOBAR_UTILS_H_