summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/startup/autolaunch_prompt.h
blob: e56e33045fa19cce212b7a2306a9759df17db29a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROME_BROWSER_UI_STARTUP_AUTOLAUNCH_PROMPT_H_
#define CHROME_BROWSER_UI_STARTUP_AUTOLAUNCH_PROMPT_H_

class Browser;

namespace user_prefs {
class PrefRegistrySyncable;
}

namespace chrome {

// Determines whether or not the auto-launch prompt should be shown, and shows
// it as needed. Returns true if it was shown, false otherwise.
bool ShowAutolaunchPrompt(Browser* browser);

// Registers auto-launch specific prefs.
void RegisterAutolaunchUserPrefs(user_prefs::PrefRegistrySyncable* registry);

}  // namespace chrome

#endif  // CHROME_BROWSER_UI_STARTUP_AUTOLAUNCH_PROMPT_H_