Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 8 class PrefRegistrySimple; | |
| 9 class Profile; | |
|
tfarina
2013/07/16 18:15:04
rm this.
noms
2013/07/16 18:24:02
Argh. Missed this one.
Done.
On 2013/07/16 18:15:0
| |
| 10 namespace base { class FilePath; } | |
| 11 | |
| 12 namespace profiles { | |
| 13 | |
| 14 // Checks if multiple profiles is enabled. | |
| 15 bool IsMultipleProfilesEnabled(); | |
| 16 | |
| 17 // Returns the path to the default profile directory, based on the given | |
| 18 // user data directory. | |
| 19 base::FilePath GetDefaultProfileDir(const base::FilePath& user_data_dir); | |
| 20 | |
| 21 // Returns the path to the preferences file given the user profile directory. | |
| 22 base::FilePath GetProfilePrefsPath(const base::FilePath& profile_dir); | |
| 23 | |
| 24 // Register multi-profile related preferences in Local State. | |
| 25 void RegisterPrefs(PrefRegistrySimple* registry); | |
| 26 | |
| 27 } // namespace profiles | |
| 28 | |
| 29 #endif // CHROME_BROWSER_PROFILES_PROFILES_STATE_H_ | |
| OLD | NEW |