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.
5 #ifndef CHROME_BROWSER_PROFILES_PROFILES_STATE_H_
6 #define CHROME_BROWSER_PROFILES_PROFILES_STATE_H_
8 #include "base/strings/string16.h"
11 class PrefRegistrySimple;
12 namespace base { class FilePath; }
16 // Checks if multiple profiles is enabled.
17 bool IsMultipleProfilesEnabled();
19 // Checks if new profile management is enabled.
20 bool IsNewProfileManagementEnabled();
22 // Returns the path to the default profile directory, based on the given
23 // user data directory.
24 base::FilePath GetDefaultProfileDir(const base::FilePath& user_data_dir);
26 // Returns the path to the preferences file given the user profile directory.
27 base::FilePath GetProfilePrefsPath(const base::FilePath& profile_dir);
29 // Register multi-profile related preferences in Local State.
30 void RegisterPrefs(PrefRegistrySimple* registry);
32 // Returns the display name of the active on-the-record profile (or guest).
33 string16 GetActiveProfileDisplayName(Browser* browser);
35 } // namespace profiles
37 #endif // CHROME_BROWSER_PROFILES_PROFILES_STATE_H_