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_PROFILES_PROFILES_STATE_H_
6#define CHROME_BROWSER_PROFILES_PROFILES_STATE_H_
7
8class PrefRegistrySimple;
9namespace base { class FilePath; }
10
11namespace profiles {
12
13// Checks if multiple profiles is enabled.
14bool IsMultipleProfilesEnabled();
15
16// Checks if new profile management is enabled.
17bool IsNewProfileManagementEnabled();
18
19// Returns the path to the default profile directory, based on the given
20// user data directory.
21base::FilePath GetDefaultProfileDir(const base::FilePath& user_data_dir);
22
23// Returns the path to the preferences file given the user profile directory.
24base::FilePath GetProfilePrefsPath(const base::FilePath& profile_dir);
25
26// Register multi-profile related preferences in Local State.
27void RegisterPrefs(PrefRegistrySimple* registry);
28
29}  // namespace profiles
30
31#endif  // CHROME_BROWSER_PROFILES_PROFILES_STATE_H_
32