blob: 260a14f84f0c44fa2ef86f59529505904e4fe881 [file] [log] [blame]
// Copyright 2013 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_CHROMEOS_FIRST_RUN_FIRST_RUN_H_
#define CHROME_BROWSER_CHROMEOS_FIRST_RUN_FIRST_RUN_H_
namespace user_prefs {
class PrefRegistrySyncable;
}
namespace chromeos {
namespace first_run {
// Registers preferences related to ChromeOS first-run tutorial.
void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry);
// Launches the first-run dialog, based on synced user prefs. Unlike
// MaybeLaunchDialogAfterSessionStart, this function can launch the dialog
// at any point instead of just before session start.
void MaybeLaunchDialogImmediately();
// Probably launches first-run dialog after session start depending on synced
// user prefs. This method should be called after user already logged in but
// session didn't started yet.
void MaybeLaunchDialogAfterSessionStart();
// Launches overlay tutorial for current user.
void LaunchTutorial();
} // namespace first_run
} // namespace chromeos
#endif // CHROME_BROWSER_CHROMEOS_FIRST_RUN_FIRST_RUN_H_