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

Unified Diff: chrome/common/extensions/api/i18n/default_locale_handler.cc

Issue 93793010: Update uses of UTF conversions in chrome/common to use the base:: namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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
Index: chrome/common/extensions/api/i18n/default_locale_handler.cc
diff --git a/chrome/common/extensions/api/i18n/default_locale_handler.cc b/chrome/common/extensions/api/i18n/default_locale_handler.cc
index 5bf98a5c09a1f5cffb562d879f70213ace8dfde6..1f0c3042aeb71b5c123b55229b017c45b1efc776 100644
--- a/chrome/common/extensions/api/i18n/default_locale_handler.cc
+++ b/chrome/common/extensions/api/i18n/default_locale_handler.cc
@@ -41,7 +41,7 @@ bool DefaultLocaleHandler::Parse(Extension* extension, base::string16* error) {
if (!extension->manifest()->GetString(keys::kDefaultLocale,
&info->default_locale) ||
!l10n_util::IsValidLocaleSyntax(info->default_locale)) {
- *error = ASCIIToUTF16(manifest_errors::kInvalidDefaultLocale);
+ *error = base::ASCIIToUTF16(manifest_errors::kInvalidDefaultLocale);
return false;
}
extension->SetManifestData(keys::kDefaultLocale, info.release());
@@ -90,7 +90,7 @@ bool DefaultLocaleHandler::Validate(
if (!base::PathExists(messages_path)) {
*error = base::StringPrintf(
"%s %s", errors::kLocalesMessagesFileMissing,
- UTF16ToUTF8(messages_path.LossyDisplayName()).c_str());
+ base::UTF16ToUTF8(messages_path.LossyDisplayName()).c_str());
return false;
}

Powered by Google App Engine
This is Rietveld 408576698