- add sources.
[platform/framework/web/crosswalk.git] / src / chrome / browser / ui / startup / autolaunch_prompt.h
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_STARTUP_AUTOLAUNCH_PROMPT_H_
6 #define CHROME_BROWSER_UI_STARTUP_AUTOLAUNCH_PROMPT_H_
7
8 class Browser;
9
10 namespace user_prefs {
11 class PrefRegistrySyncable;
12 }
13
14 namespace chrome {
15
16 // Determines whether or not the auto-launch prompt should be shown, and shows
17 // it as needed. Returns true if it was shown, false otherwise.
18 bool ShowAutolaunchPrompt(Browser* browser);
19
20 // Registers auto-launch specific prefs.
21 void RegisterAutolaunchUserPrefs(user_prefs::PrefRegistrySyncable* registry);
22
23 }  // namespace chrome
24
25 #endif  // CHROME_BROWSER_UI_STARTUP_AUTOLAUNCH_PROMPT_H_