summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormirandac@chromium.org <mirandac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-19 22:06:25 +0000
committermirandac@chromium.org <mirandac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-19 22:06:25 +0000
commit73a6d12fa3c00b35aa40c65b0356285efbb1583b (patch)
tree7bd5ccf03eccb746d2d36992ce69ac020b0ffaff
parent006284f0117dd585c0687eb6e967afb7597e16ea (diff)
downloadchromium_src-73a6d12fa3c00b35aa40c65b0356285efbb1583b.zip
chromium_src-73a6d12fa3c00b35aa40c65b0356285efbb1583b.tar.gz
chromium_src-73a6d12fa3c00b35aa40c65b0356285efbb1583b.tar.bz2
Add comment to profile_manager indicating that GetDefaultProfile should no longer be used.
BUG=none TEST=none Review URL: http://codereview.chromium.org/8354013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106398 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/profiles/profile_manager.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/profiles/profile_manager.h b/chrome/browser/profiles/profile_manager.h
index a99bf0d..374c19b 100644
--- a/chrome/browser/profiles/profile_manager.h
+++ b/chrome/browser/profiles/profile_manager.h
@@ -67,12 +67,14 @@ class ProfileManager : public base::NonThreadSafe,
// Physically remove deleted profile directories from disk.
static void NukeDeletedProfilesFromDisk();
+ // DEPRECATED: DO NOT USE unless in ChromeOS.
// Returns the default profile. This adds the profile to the
// ProfileManager if it doesn't already exist. This method returns NULL if
// the profile doesn't exist and we can't create it.
// The profile used can be overridden by using --login-profile on cros.
Profile* GetDefaultProfile(const FilePath& user_data_dir);
+ // DEPRECATED: DO NOT USE unless in ChromeOS.
// Same as instance method but provides the default user_data_dir as well.
static Profile* GetDefaultProfile();