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