Index: chrome/browser/browser.cc |
=================================================================== |
--- chrome/browser/browser.cc (revision 30544) |
+++ chrome/browser/browser.cc (working copy) |
@@ -140,7 +140,7 @@ |
NotificationService::AllSources()); |
registrar_.Add(this, NotificationType::BROWSER_THEME_CHANGED, |
NotificationService::AllSources()); |
- registrar_.Add(this, NotificationType::HISTORY_TOO_NEW, |
+ registrar_.Add(this, NotificationType::PROFILE_ERROR, |
NotificationService::AllSources()); |
// Need to know when to alert the user of theme install delay. |
@@ -2248,10 +2248,11 @@ |
break; |
} |
- case NotificationType::HISTORY_TOO_NEW: { |
+ case NotificationType::PROFILE_ERROR: { |
if (BrowserList::GetLastActive() != this) |
break; |
- window()->ShowHistoryTooNewDialog(); |
+ int* message_id = Details<int>(details).ptr(); |
+ window()->ShowProfileErrorDialog(*message_id); |
break; |
} |