| 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_AUTOLAUNCH_PROMPT_H_ | 5 #ifndef CHROME_BROWSER_UI_STARTUP_AUTOLAUNCH_PROMPT_H_ |
| 6 #define CHROME_BROWSER_UI_STARTUP_AUTOLAUNCH_PROMPT_H_ | 6 #define CHROME_BROWSER_UI_STARTUP_AUTOLAUNCH_PROMPT_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 class PrefService; | 9 class PrefService; |
| 10 class Profile; | 10 class Profile; |
| 11 | 11 |
| 12 namespace browser { | 12 namespace chrome { |
| 13 | 13 |
| 14 // Determines whether or not the auto-launch prompt should be shown, and shows | 14 // Determines whether or not the auto-launch prompt should be shown, and shows |
| 15 // it as needed. Returns true if it was shown, false otherwise. | 15 // it as needed. Returns true if it was shown, false otherwise. |
| 16 bool ShowAutolaunchPrompt(Profile* profile); | 16 bool ShowAutolaunchPrompt(Profile* profile); |
| 17 | 17 |
| 18 // Registers auto-launch specific prefs. | 18 // Registers auto-launch specific prefs. |
| 19 void RegisterAutolaunchPrefs(PrefService* prefs); | 19 void RegisterAutolaunchPrefs(PrefService* prefs); |
| 20 | 20 |
| 21 } // namespace browser | 21 } // namespace chrome |
| 22 | |
| 23 | 22 |
| 24 #endif // CHROME_BROWSER_UI_STARTUP_AUTOLAUNCH_PROMPT_H_ | 23 #endif // CHROME_BROWSER_UI_STARTUP_AUTOLAUNCH_PROMPT_H_ |
| OLD | NEW |