blob: ce62a20e671e9e39ee7a0999a145327e29bfa3b5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
// 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_OBSOLETE_OS_PROMPT_H_
#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);
} // namespace browser
#endif // CHROME_BROWSER_UI_STARTUP_OBSOLETE_OS_PROMPT_H_
|