summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/startup/autolaunch_prompt.h
blob: a4c70e56d1aab5a0e8ffa6911f1813f4d6c51f4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// 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 PrefRegistrySyncable;
class Browser;

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(PrefRegistrySyncable* registry);

}  // namespace chrome

#endif  // CHROME_BROWSER_UI_STARTUP_AUTOLAUNCH_PROMPT_H_