Chromium Code Reviews| Index: chrome/browser/profiles/profile_manager.h |
| diff --git a/chrome/browser/profiles/profile_manager.h b/chrome/browser/profiles/profile_manager.h |
| index 5b55baa8e0359141f140b70677ff497df9bae81c..04efe51d6bd4d4fa70412ee335343be60f533e9c 100644 |
| --- a/chrome/browser/profiles/profile_manager.h |
| +++ b/chrome/browser/profiles/profile_manager.h |
| @@ -47,6 +47,8 @@ class ProfileManager : public base::NonThreadSafe, |
| // Physically remove deleted profile directories from disk. |
| static void NukeDeletedProfilesFromDisk(); |
| + // The following DEPRECATED functions should be removed: crbug.com/83792. |
| + |
| // 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 |
| @@ -54,6 +56,10 @@ class ProfileManager : public base::NonThreadSafe, |
| // The profile used can be overridden by using --login-profile on cros. |
| Profile* GetDefaultProfile(const base::FilePath& user_data_dir); |
| + // DEPRECATED: Temporary measure to ensure that GetDefaultProfile() is not |
| + // called before CreateProfile() is called in chrome_browser_main.cc. |
| + static void AllowGetDefaultProfile(); |
|
Paweł Hajdan Jr.
2013/05/23 21:59:32
nit: Please comment what this function does.
stevenjb
2013/05/23 23:15:07
Done.
|
| + |
| // DEPRECATED: DO NOT USE unless in ChromeOS. |
| // Same as instance method but provides the default user_data_dir as well. |
| static Profile* GetDefaultProfile(); |