Index: chrome/browser/sync/profile_sync_service.cc |
diff --git a/chrome/browser/sync/profile_sync_service.cc b/chrome/browser/sync/profile_sync_service.cc |
index bc72dccfedc196a0bc60af76bf7b8da5b975e4c9..ca3926fc6acb27490d83a7f577754ec6b2792c48 100644 |
--- a/chrome/browser/sync/profile_sync_service.cc |
+++ b/chrome/browser/sync/profile_sync_service.cc |
@@ -700,6 +700,13 @@ void ProfileSyncService::OnBackendInitialized( |
// Keep the directory around for now so that on restart we will retry |
// again and potentially succeed in presence of transient file IO failures |
// or permissions issues, etc. |
+ // |
+ // TODO(rlarocque): Consider making this UnrecoverableError less special. |
+ // Unlike every other UnrecoverableError, it does not delete our sync data. |
+ // This exception made sense at the time it was implemented, but our new |
+ // directory corruption recovery mechanism makes it obsolete. By the time |
+ // we get here, we will have already tried and failed to delete the |
+ // directory. It would be no big deal if we tried to delete it again. |
OnInternalUnrecoverableError(FROM_HERE, |
"BackendInitialize failure", |
false, |