1// Copyright 2013 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_CHROMEOS_FIRST_RUN_FIRST_RUN_H_ 6#define CHROME_BROWSER_CHROMEOS_FIRST_RUN_FIRST_RUN_H_ 7 8namespace user_prefs { 9class PrefRegistrySyncable; 10} 11 12namespace chromeos { 13namespace first_run { 14 15// Registers preferences related to ChromeOS first-run tutorial. 16void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry); 17 18// Probably launches first-run dialog after session start depending on synced 19// user prefs. This method should be called after user already logged in but 20// session didn't started yet. 21void MaybeLaunchDialogAfterSessionStart(); 22 23// Launches overlay tutorial for current user. 24void LaunchTutorial(); 25 26} // namespace first_run 27} // namespace chromeos 28 29#endif // CHROME_BROWSER_CHROMEOS_FIRST_RUN_FIRST_RUN_H_ 30