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

Unified Diff: components/policy/core/browser/policy_error_map.cc

Issue 112433004: Update uses of UTF conversions in chrome_frame/, chromeos/, components/ 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: components/policy/core/browser/policy_error_map.cc
diff --git a/components/policy/core/browser/policy_error_map.cc b/components/policy/core/browser/policy_error_map.cc
index 95708ac70d104ef58ffd07084b589640f84d1566..611260d3f8378b9850f90457cb857b44660b8cad 100644
--- a/components/policy/core/browser/policy_error_map.cc
+++ b/components/policy/core/browser/policy_error_map.cc
@@ -138,14 +138,15 @@ void PolicyErrorMap::Convert(const PendingError& error) {
base::string16 submessage;
if (error.has_replacement) {
submessage = l10n_util::GetStringFUTF16(error.message_id,
- ASCIIToUTF16(error.replacement));
+ base::ASCIIToUTF16(
+ error.replacement));
} else {
submessage = l10n_util::GetStringUTF16(error.message_id);
}
base::string16 message;
if (!error.subkey.empty()) {
message = l10n_util::GetStringFUTF16(IDS_POLICY_SUBKEY_ERROR,
- ASCIIToUTF16(error.subkey),
+ base::ASCIIToUTF16(error.subkey),
submessage);
} else if (error.index >= 0) {
message = l10n_util::GetStringFUTF16(IDS_POLICY_LIST_ENTRY_ERROR,

Powered by Google App Engine
This is Rietveld 408576698