Home | History | Annotate | Download | only in first_run
      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 
      8 namespace user_prefs {
      9 class PrefRegistrySyncable;
     10 }
     11 
     12 namespace chromeos {
     13 namespace first_run {
     14 
     15 // Registers preferences related to ChromeOS first-run tutorial.
     16 void 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.
     21 void MaybeLaunchDialogAfterSessionStart();
     22 
     23 // Launches overlay tutorial for current user.
     24 void LaunchTutorial();
     25 
     26 }  // namespace first_run
     27 }  // namespace chromeos
     28 
     29 #endif  // CHROME_BROWSER_CHROMEOS_FIRST_RUN_FIRST_RUN_H_
     30