summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/startup/obsolete_os_prompt.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/startup/obsolete_os_prompt.h')
-rw-r--r--chrome/browser/ui/startup/obsolete_os_prompt.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/chrome/browser/ui/startup/obsolete_os_prompt.h b/chrome/browser/ui/startup/obsolete_os_prompt.h
index fd5e7cf..ce62a20 100644
--- a/chrome/browser/ui/startup/obsolete_os_prompt.h
+++ b/chrome/browser/ui/startup/obsolete_os_prompt.h
@@ -6,10 +6,19 @@
#define CHROME_BROWSER_UI_STARTUP_OBSOLETE_OS_PROMPT_H_
#pragma once
+#include "build/build_config.h"
+
class Browser;
+class PrefService;
namespace browser {
+#if defined(OS_MACOSX)
+// Registers the Mac-specific preference about when to show obsolete OS
+// prompts.
+void RegisterObsoleteOSInfobarPrefs(PrefService* local_state);
+#endif
+
// Shows a warning notification in |browser| that the app is being run on an
// unsupported operating system.
void ShowObsoleteOSPrompt(Browser* browser);