diff options
author | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-30 22:34:41 +0000 |
---|---|---|
committer | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-30 22:34:41 +0000 |
commit | e587a45fcdc7dec3c5ce894e4fac236cdb8fe2ad (patch) | |
tree | 04883155bf0e43a7dba6717d5f3ce4526c34712e /chrome/common | |
parent | 61206e0c3dfcf17e748dec65139d7e8e3449c8a3 (diff) | |
download | chromium_src-e587a45fcdc7dec3c5ce894e4fac236cdb8fe2ad.zip chromium_src-e587a45fcdc7dec3c5ce894e4fac236cdb8fe2ad.tar.gz chromium_src-e587a45fcdc7dec3c5ce894e4fac236cdb8fe2ad.tar.bz2 |
Show a warning when the history files can't be read correctly.
This re-plumbs the existing "TooNew" codepath to handle arbitrary error messages.
BUG=25822
TEST=Make your history files non-readable, run Chrome (Release), make sure you get a warning dialog.
Review URL: http://codereview.chromium.org/342048
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30642 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/notification_type.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/chrome/common/notification_type.h b/chrome/common/notification_type.h index 86e09fd..de00154 100644 --- a/chrome/common/notification_type.h +++ b/chrome/common/notification_type.h @@ -518,9 +518,10 @@ class NotificationType { // history_notifications.h). FAVICON_CHANGED, - // Sent by history if the history database is too new. The active browser - // window should notify the user of this error. - HISTORY_TOO_NEW, + // Sent by history if there is a problem reading the profile. The details + // is an int that's one of the message IDs in the string table. The active + // browser window should notify the user of this error. + PROFILE_ERROR, // Thumbnails--------------------------------------------------------------- |