summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_window.h
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-30 22:34:41 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-30 22:34:41 +0000
commite587a45fcdc7dec3c5ce894e4fac236cdb8fe2ad (patch)
tree04883155bf0e43a7dba6717d5f3ce4526c34712e /chrome/browser/browser_window.h
parent61206e0c3dfcf17e748dec65139d7e8e3449c8a3 (diff)
downloadchromium_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/browser/browser_window.h')
-rw-r--r--chrome/browser/browser_window.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/browser/browser_window.h b/chrome/browser/browser_window.h
index ccbbf32..e1a59a4 100644
--- a/chrome/browser/browser_window.h
+++ b/chrome/browser/browser_window.h
@@ -205,8 +205,10 @@ class BrowserWindow {
// Shows the repost form confirmation dialog box.
virtual void ShowRepostFormWarningDialog(TabContents* tab_contents) = 0;
- // Shows a dialog to the user that the history is too new.
- virtual void ShowHistoryTooNewDialog() = 0;
+ // Shows a dialog to the user that something is wrong with the profile.
+ // |message_id| is the ID for a string in the string table which will be
+ // displayed in the dialog.
+ virtual void ShowProfileErrorDialog(int message_id) = 0;
// Show the bubble that indicates to the user that a theme is being installed.
virtual void ShowThemeInstallBubble() = 0;