diff options
author | cpu@google.com <cpu@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-17 18:05:54 +0000 |
---|---|---|
committer | cpu@google.com <cpu@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-17 18:05:54 +0000 |
commit | 09da32d543461c90fcf3490966e0c4a670b9a2a8 (patch) | |
tree | 9503fe2d5a63b14bab3b5f00d6119770ec2a99d8 /chrome/browser/profile_manager.h | |
parent | 937bcde53a86ea06ac8379e882de339ed95e3897 (diff) | |
download | chromium_src-09da32d543461c90fcf3490966e0c4a670b9a2a8.zip chromium_src-09da32d543461c90fcf3490966e0c4a670b9a2a8.tar.gz chromium_src-09da32d543461c90fcf3490966e0c4a670b9a2a8.tar.bz2 |
Add processing for a master profile json file on first run. Allows:
- set home page / show home button
- show bookmarks bar
Review URL: http://codereview.chromium.org/7369
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3542 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/profile_manager.h')
-rw-r--r-- | chrome/browser/profile_manager.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/profile_manager.h b/chrome/browser/profile_manager.h index 92ee707..5c3ad89 100644 --- a/chrome/browser/profile_manager.h +++ b/chrome/browser/profile_manager.h @@ -124,6 +124,12 @@ class ProfileManager { // ------------------ static utility functions ------------------- + // Returns the path to the profile directory based on the user data directory. + static std::wstring GetDefaultProfileDir(const std::wstring& user_data_dir); + + // Returns the path to the profile given the user profile directory. + static std::wstring GetDefaultProfilePath(const std::wstring& profile_dir); + // Tries to determine whether the given path represents a profile // directory, and returns true if it thinks it does. static bool IsProfile(const std::wstring& path); |