Chromium Code Reviews| Index: chrome/browser/profiles/profiles_state.h |
| diff --git a/chrome/browser/profiles/profiles_state.h b/chrome/browser/profiles/profiles_state.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..a075202e1e660c644256fcd25d3c2e386476d8d4 |
| --- /dev/null |
| +++ b/chrome/browser/profiles/profiles_state.h |
| @@ -0,0 +1,29 @@ |
| +// Copyright 2013 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROME_BROWSER_PROFILES_PROFILES_STATE_H_ |
| +#define CHROME_BROWSER_PROFILES_PROFILES_STATE_H_ |
| + |
| +class PrefRegistrySimple; |
| +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
|
| +namespace base { class FilePath; } |
| + |
| +namespace profiles { |
| + |
| +// Checks if multiple profiles is enabled. |
| +bool IsMultipleProfilesEnabled(); |
| + |
| +// Returns the path to the default profile directory, based on the given |
| +// user data directory. |
| +base::FilePath GetDefaultProfileDir(const base::FilePath& user_data_dir); |
| + |
| +// Returns the path to the preferences file given the user profile directory. |
| +base::FilePath GetProfilePrefsPath(const base::FilePath& profile_dir); |
| + |
| +// Register multi-profile related preferences in Local State. |
| +void RegisterPrefs(PrefRegistrySimple* registry); |
| + |
| +} // namespace profiles |
| + |
| +#endif // CHROME_BROWSER_PROFILES_PROFILES_STATE_H_ |