Popular sites on the NTP: check that experiment group StartsWith (rather than IS...
[chromium-blink-merge.git] / chrome / browser / ui / startup / autolaunch_prompt.h
blobe56e33045fa19cce212b7a2306a9759df17db29a
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.
5 #ifndef CHROME_BROWSER_UI_STARTUP_AUTOLAUNCH_PROMPT_H_
6 #define CHROME_BROWSER_UI_STARTUP_AUTOLAUNCH_PROMPT_H_
8 class Browser;
10 namespace user_prefs {
11 class PrefRegistrySyncable;
14 namespace chrome {
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);
20 // Registers auto-launch specific prefs.
21 void RegisterAutolaunchUserPrefs(user_prefs::PrefRegistrySyncable* registry);
23 } // namespace chrome
25 #endif // CHROME_BROWSER_UI_STARTUP_AUTOLAUNCH_PROMPT_H_