Index: chrome/browser/profiles/profile.h |
diff --git a/chrome/browser/profiles/profile.h b/chrome/browser/profiles/profile.h |
index f5feb756b325422e5159699680eaff0c9890e264..2f25d0265831ac1409e69550899eac6233e914b0 100644 |
--- a/chrome/browser/profiles/profile.h |
+++ b/chrome/browser/profiles/profile.h |
@@ -129,6 +129,8 @@ class Profile : public content::BrowserContext { |
// Create a new profile given a path. If |create_mode| is |
// CREATE_MODE_ASYNCHRONOUS then the profile is initialized asynchronously. |
+ // Can return null if |create_mode| is CREATE_MODE_SYNCHRONOUS and the |
+ // creation of the profile directory fails. |
static Profile* CreateProfile(const base::FilePath& path, |
Delegate* delegate, |
CreateMode create_mode); |