Index: chrome/browser/profiles/profile_info_cache.cc |
diff --git a/chrome/browser/profiles/profile_info_cache.cc b/chrome/browser/profiles/profile_info_cache.cc |
index ad4f705af62637048372502eb21a4bafe7ddc30b..583441d71cb1544d2c15491af406807a7ec1385c 100644 |
--- a/chrome/browser/profiles/profile_info_cache.cc |
+++ b/chrome/browser/profiles/profile_info_cache.cc |
@@ -562,6 +562,11 @@ void ProfileInfoCache::SetIsOmittedProfileAtIndex(size_t index, |
info->SetBoolean(kIsOmittedFromProfileListKey, is_omitted); |
// This takes ownership of |info|. |
SetInfoForProfileAtIndex(index, info.release()); |
+ |
+ base::FilePath profile_path = GetPathOfProfileAtIndex(index); |
+ FOR_EACH_OBSERVER(ProfileInfoCacheObserver, |
+ observer_list_, |
+ OnProfileIsOmittedChanged(profile_path)); |
} |
void ProfileInfoCache::SetSupervisedUserIdOfProfileAtIndex( |