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

Unified Diff: chrome/browser/ui/autofill/account_chooser_model.cc

Issue 112913004: Update some uses of UTF conversions in chrome/browser 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/browser/ui/autofill/account_chooser_model.cc
diff --git a/chrome/browser/ui/autofill/account_chooser_model.cc b/chrome/browser/ui/autofill/account_chooser_model.cc
index e0907223be3a65df360ce476a82d5e7b630e0dee..1b983312f3de57d788a397e164f9ecc5e9d35d93 100644
--- a/chrome/browser/ui/autofill/account_chooser_model.cc
+++ b/chrome/browser/ui/autofill/account_chooser_model.cc
@@ -88,7 +88,7 @@ base::string16 AccountChooserModel::GetActiveWalletAccountName() const {
if (wallet_accounts_.empty())
return base::string16();
- return UTF8ToUTF16(wallet_accounts_[GetActiveWalletAccountIndex()]);
+ return base::UTF8ToUTF16(wallet_accounts_[GetActiveWalletAccountIndex()]);
}
size_t AccountChooserModel::GetActiveWalletAccountIndex() const {
@@ -173,7 +173,7 @@ void AccountChooserModel::ReconstructMenuItems() {
if (!wallet_accounts_.empty()) {
for (size_t i = 0; i < wallet_accounts_.size(); ++i) {
int item_id = kWalletAccountsStartId + i;
- AddCheckItem(item_id, UTF8ToUTF16(wallet_accounts_[i]));
+ AddCheckItem(item_id, base::UTF8ToUTF16(wallet_accounts_[i]));
}
} else if (checked_item_ == kWalletAccountsStartId) {
// A selected active Wallet account without account names means
« no previous file with comments | « chrome/browser/ui/auto_login_infobar_delegate.cc ('k') | chrome/browser/ui/autofill/account_chooser_model_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698