summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/startup/bad_flags_prompt.h
blob: df2a9ee3c5367ff11cd106e492704871eecbb4ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright (c) 2012 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_BAD_FLAGS_PROMPT_H_
#define CHROME_BROWSER_UI_STARTUP_BAD_FLAGS_PROMPT_H_

class Browser;

namespace chrome {

// Shows a warning notification in |browser| that the app was run with dangerous
// command line flags.
void ShowBadFlagsPrompt(Browser* browser);

// Shows a warning dialog if the originally specified user data dir was invalid.
void MaybeShowInvalidUserDataDirWarningDialog();

}  // namespace chrome

#endif  // CHROME_BROWSER_UI_STARTUP_BAD_FLAGS_PROMPT_H_