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