Index: chrome/browser/profiles/profile_manager.h |
diff --git a/chrome/browser/profiles/profile_manager.h b/chrome/browser/profiles/profile_manager.h |
index af7e34bd42c7589fc0c5eea69c7338142fe0ae70..93e3d19db00aba383eced61eab09009f04b292a9 100644 |
--- a/chrome/browser/profiles/profile_manager.h |
+++ b/chrome/browser/profiles/profile_manager.h |
@@ -140,7 +140,8 @@ class ProfileManager : public base::NonThreadSafe, |
// were open the last time Chrome was running. The Profiles appear in the |
// order they were opened. The last used profile will be on the list, but its |
// index on the list will depend on when it was opened (it is not necessarily |
- // the last one). |
+ // the last one). However profiles that fails to initialize (e.g. due to disk |
+ // errors) are skipped. |
std::vector<Profile*> GetLastOpenedProfiles( |
const base::FilePath& user_data_dir); |