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

Unified Diff: chrome/browser/browser_main_win.cc

Issue 7610009: If no locale data files can be found, show a dialog and exit (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: error Created 9 years, 4 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
« chrome/browser/browser_main.h ('K') | « chrome/browser/browser_main_mac.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_main_win.cc
diff --git a/chrome/browser/browser_main_win.cc b/chrome/browser/browser_main_win.cc
index 55714f73fad16e83492b5b279ceb4ccd779ba278..f26a3ca36ff3f762b18f865a1d3585ea9c5e654f 100644
--- a/chrome/browser/browser_main_win.cc
+++ b/chrome/browser/browser_main_win.cc
@@ -83,6 +83,13 @@ void WarnAboutMinimumSystemRequirements() {
}
}
+void ShowMissingLocaleMessageBox(const char* message, const char* title) {
+ string16 message_utf16 = ASCIIToUTF16(message);
+ string16 title_utf16 = ASCIIToUTF16(title);
+ ui::MessageBox(NULL, message_utf16, title_utf16,
+ MB_OK | MB_ICONERROR | MB_TOPMOST);
+}
+
void RecordBrowserStartupTime() {
// Calculate the time that has elapsed from our own process creation.
FILETIME creation_time = {};
« chrome/browser/browser_main.h ('K') | « chrome/browser/browser_main_mac.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698