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

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

Issue 10690060: startup: Put it in chrome namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 #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_
OLDNEW
« no previous file with comments | « chrome/browser/ui/startup/obsolete_os_info_bar.cc ('k') | chrome/browser/ui/startup/obsolete_os_prompt.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698