summaryrefslogtreecommitdiffstats
path: root/chrome/common/l10n_util.cc
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-13 01:43:59 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-13 01:43:59 +0000
commit70dd2b3fcf08d961ffea7cf4472d7533f2a2554b (patch)
tree3aee11cf423902f09d397efb54c79cb4739faff1 /chrome/common/l10n_util.cc
parent68d74f044a83cbfde9de5a74cb9186268caf3728 (diff)
downloadchromium_src-70dd2b3fcf08d961ffea7cf4472d7533f2a2554b.zip
chromium_src-70dd2b3fcf08d961ffea7cf4472d7533f2a2554b.tar.gz
chromium_src-70dd2b3fcf08d961ffea7cf4472d7533f2a2554b.tar.bz2
Relocate a NOTIMPLEMENTED() to its proper place.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9722 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/l10n_util.cc')
-rw-r--r--chrome/common/l10n_util.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/common/l10n_util.cc b/chrome/common/l10n_util.cc
index a8056a7..dbe34c7 100644
--- a/chrome/common/l10n_util.cc
+++ b/chrome/common/l10n_util.cc
@@ -285,8 +285,14 @@ std::wstring GetApplicationLocale(const std::wstring& pref_locale) {
if (IsLocaleAvailable(fallback_locale, locale_path))
return fallback_locale;
+#if defined(OS_WIN)
// No DLL, we shouldn't get here.
NOTREACHED();
+#else
+ // We need a locale data file.
+ NOTIMPLEMENTED();
+#endif
+
return std::wstring();
}