Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(523)

Side by Side Diff: chrome/browser/ui/startup/obsolete_os_prompt.h

Issue 10837158: mac: Delete more 10.5-only code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rsesek Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698