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 8class Browser; 9 10namespace user_prefs { 11class PrefRegistrySyncable; 12} 13 14namespace 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. 18bool ShowAutolaunchPrompt(Browser* browser); 19 20// Registers auto-launch specific prefs. 21void RegisterAutolaunchUserPrefs(user_prefs::PrefRegistrySyncable* registry); 22 23} // namespace chrome 24 25#endif // CHROME_BROWSER_UI_STARTUP_AUTOLAUNCH_PROMPT_H_ 26