OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_UI_STARTUP_BAD_FLAGS_PROMPT_H_ | 5 #ifndef CHROME_BROWSER_UI_STARTUP_BAD_FLAGS_PROMPT_H_ |
6 #define CHROME_BROWSER_UI_STARTUP_BAD_FLAGS_PROMPT_H_ | 6 #define CHROME_BROWSER_UI_STARTUP_BAD_FLAGS_PROMPT_H_ |
7 | 7 |
8 class Browser; | 8 class Browser; |
9 | 9 |
10 namespace chrome { | 10 namespace chrome { |
11 | 11 |
12 // Shows a warning notification in |browser| that the app was run with dangerous | 12 // Shows a warning notification in |browser| that the app was run with dangerous |
13 // command line flags. | 13 // command line flags. |
14 void ShowBadFlagsPrompt(Browser* browser); | 14 void ShowBadFlagsPrompt(Browser* browser); |
15 | 15 |
| 16 // Shows a warning dialog if the originally specified user data dir was invalid. |
| 17 void MaybeShowInvalidUserDataDirWarningDialog(); |
| 18 |
16 } // namespace chrome | 19 } // namespace chrome |
17 | 20 |
18 #endif // CHROME_BROWSER_UI_STARTUP_BAD_FLAGS_PROMPT_H_ | 21 #endif // CHROME_BROWSER_UI_STARTUP_BAD_FLAGS_PROMPT_H_ |
OLD | NEW |