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_OBSOLETE_OS_PROMPT_H_ | 5 #ifndef CHROME_BROWSER_UI_STARTUP_OBSOLETE_OS_PROMPT_H_ |
6 #define CHROME_BROWSER_UI_STARTUP_OBSOLETE_OS_PROMPT_H_ | 6 #define CHROME_BROWSER_UI_STARTUP_OBSOLETE_OS_PROMPT_H_ |
7 | 7 |
8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
9 | 9 |
10 class Browser; | 10 class Browser; |
11 class PrefService; | 11 class PrefService; |
12 | 12 |
13 namespace chrome { | 13 namespace chrome { |
14 | 14 |
15 #if defined(OS_MACOSX) | |
16 // Registers the Mac-specific preference about when to show obsolete OS prompts. | |
17 void RegisterObsoleteOSInfobarPrefs(PrefService* local_state); | |
18 #endif | |
19 | |
20 // Shows a warning notification in |browser| that the app is being run on an | 15 // Shows a warning notification in |browser| that the app is being run on an |
21 // unsupported operating system. | 16 // unsupported operating system. |
22 void ShowObsoleteOSPrompt(Browser* browser); | 17 void ShowObsoleteOSPrompt(Browser* browser); |
23 | 18 |
24 } // namespace chrome | 19 } // namespace chrome |
25 | 20 |
26 #endif // CHROME_BROWSER_UI_STARTUP_OBSOLETE_OS_PROMPT_H_ | 21 #endif // CHROME_BROWSER_UI_STARTUP_OBSOLETE_OS_PROMPT_H_ |
OLD | NEW |