| Index: chrome/browser/chrome_browser_main_win.cc
|
| diff --git a/chrome/browser/chrome_browser_main_win.cc b/chrome/browser/chrome_browser_main_win.cc
|
| index 69d0707eac2b4a0901907dfb08183a0c85a428a4..5939c47fa8c534efa58b20b8f3a6b70b2b80e953 100644
|
| --- a/chrome/browser/chrome_browser_main_win.cc
|
| +++ b/chrome/browser/chrome_browser_main_win.cc
|
| @@ -91,19 +91,18 @@ void RecordBreakpadStatusUMA(MetricsService* metrics) {
|
|
|
| void WarnAboutMinimumSystemRequirements() {
|
| if (base::win::GetVersion() < base::win::VERSION_XP) {
|
| - const string16 title = l10n_util::GetStringUTF16(IDS_PRODUCT_NAME);
|
| - const string16 message =
|
| - l10n_util::GetStringUTF16(IDS_UNSUPPORTED_OS_PRE_WIN_XP);
|
| - browser::ShowMessageBox(NULL, title, message,
|
| - browser::MESSAGE_BOX_TYPE_WARNING);
|
| + chrome::ShowMessageBox(NULL,
|
| + l10n_util::GetStringUTF16(IDS_PRODUCT_NAME),
|
| + l10n_util::GetStringUTF16(IDS_UNSUPPORTED_OS_PRE_WIN_XP),
|
| + chrome::MESSAGE_BOX_TYPE_WARNING);
|
| }
|
| }
|
|
|
| void ShowCloseBrowserFirstMessageBox() {
|
| - const string16 title = l10n_util::GetStringUTF16(IDS_PRODUCT_NAME);
|
| - const string16 message = l10n_util::GetStringUTF16(IDS_UNINSTALL_CLOSE_APP);
|
| - browser::ShowMessageBox(NULL, title, message,
|
| - browser::MESSAGE_BOX_TYPE_WARNING);
|
| + chrome::ShowMessageBox(NULL,
|
| + l10n_util::GetStringUTF16(IDS_PRODUCT_NAME),
|
| + l10n_util::GetStringUTF16(IDS_UNINSTALL_CLOSE_APP),
|
| + chrome::MESSAGE_BOX_TYPE_WARNING);
|
| }
|
|
|
| int DoUninstallTasks(bool chrome_still_running) {
|
|
|