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

Unified Diff: components/autofill/core/browser/address.cc

Issue 113403006: Update some uses of char16 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
« no previous file with comments | « cloud_print/service/win/chrome_launcher.cc ('k') | components/autofill/core/browser/autofill_field.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/core/browser/address.cc
diff --git a/components/autofill/core/browser/address.cc b/components/autofill/core/browser/address.cc
index 242fa24551298b1f68475077a396861a805cbef2..031ff6b808e1b488b0e58814c010721e0a724dc5 100644
--- a/components/autofill/core/browser/address.cc
+++ b/components/autofill/core/browser/address.cc
@@ -120,7 +120,7 @@ void Address::SetRawInfo(ServerFieldType type, const base::string16& value) {
break;
case ADDRESS_HOME_STREET_ADDRESS:
- base::SplitString(value, char16('\n'), &street_address_);
+ base::SplitString(value, base::char16('\n'), &street_address_);
break;
default:
@@ -164,7 +164,7 @@ bool Address::SetInfo(const AutofillType& type,
// format, so the code would have to rely on iffy heuristics at best.
// Instead, just give up when importing addresses like this.
if (storable_type == ADDRESS_HOME_STREET_ADDRESS && !value.empty() &&
- value.find(char16('\n')) == base::string16::npos) {
+ value.find(base::char16('\n')) == base::string16::npos) {
street_address_.clear();
return false;
}
« no previous file with comments | « cloud_print/service/win/chrome_launcher.cc ('k') | components/autofill/core/browser/autofill_field.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698