Index: chrome/browser/profiles/profile_manager.h |
diff --git a/chrome/browser/profiles/profile_manager.h b/chrome/browser/profiles/profile_manager.h |
index 5cc609032f61d0fabbedeaa7e26d6305d2d65cd2..8c07563272ccc993b32bea72fc6055a7bdec2694 100644 |
--- a/chrome/browser/profiles/profile_manager.h |
+++ b/chrome/browser/profiles/profile_manager.h |
@@ -59,6 +59,11 @@ class ProfileManager : public base::NonThreadSafe, |
// Same as instance method but provides the default user_data_dir as well. |
static Profile* GetDefaultProfile(); |
+ // DEPRECATED: DO NOT USE unless in ChromeOS. |
+ // Same as GetDefaultProfile() but returns OffTheRecord profile |
+ // if guest login. |
+ static Profile* GetDefaultProfileOrOffTheRecord(); |
+ |
// Returns a profile for a specific profile directory within the user data |
// dir. This will return an existing profile it had already been created, |
// otherwise it will create and manage it. |