910e62b5创建于 1月15日历史提交
// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROME_BROWSER_ASH_FIRST_RUN_FIRST_RUN_H_
#define CHROME_BROWSER_ASH_FIRST_RUN_FIRST_RUN_H_

class Profile;

namespace user_prefs {
class PrefRegistrySyncable;
}  // namespace user_prefs

namespace ash {
namespace first_run {

// Registers preferences related to ChromeOS first-run tutorial.
void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry);

// Returns true if we should launch the help app for the given Profile.
// Depends on user prefs and flags.
bool ShouldLaunchHelpApp(Profile* profile);

// Launches the help app for the given Profile. This should only be used for the
// first run experience, i.e. after the user completed the OOBE setup. The app
// is preloaded immediately, but visible only after the session has begun.
void LaunchHelpApp(Profile* profile);

}  // namespace first_run
}  // namespace ash

#endif  // CHROME_BROWSER_ASH_FIRST_RUN_FIRST_RUN_H_