Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(314)

Unified Diff: chrome/browser/browser.cc

Issue 342048: Show a warning when the history files can't be read correctly.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
}

Powered by Google App Engine
This is Rietveld 408576698