diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-01 04:38:05 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-01 04:38:05 +0000 |
commit | b37579c4e169729bf64e6f185f3e4c6bb7a83080 (patch) | |
tree | 3bf86e8ed3dc4ab9b7dc0dad21321fe583334f07 /chrome/browser/autofill/address.cc | |
parent | e2c66c328e40b7d84b104c12074e5d84c15e308d (diff) | |
download | chromium_src-b37579c4e169729bf64e6f185f3e4c6bb7a83080.zip chromium_src-b37579c4e169729bf64e6f185f3e4c6bb7a83080.tar.gz chromium_src-b37579c4e169729bf64e6f185f3e4c6bb7a83080.tar.bz2 |
autofill: Rename AutoFillCountry to AutofillCountry.
BUG=72758
TEST=compiled locally and trybots
Review URL: http://codereview.chromium.org/6598058
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76355 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autofill/address.cc')
-rw-r--r-- | chrome/browser/autofill/address.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/chrome/browser/autofill/address.cc b/chrome/browser/autofill/address.cc index 67c1783..1e79116 100644 --- a/chrome/browser/autofill/address.cc +++ b/chrome/browser/autofill/address.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -170,8 +170,8 @@ string16 Address::Country() const { if (country_code().empty()) return string16(); - std::string app_locale = AutoFillCountry::ApplicationLocale(); - return AutoFillCountry(country_code(), app_locale).name(); + std::string app_locale = AutofillCountry::ApplicationLocale(); + return AutofillCountry(country_code(), app_locale).name(); } void Address::set_line1(const string16& line1) { @@ -193,8 +193,8 @@ void Address::set_line2(const string16& line2) { } void Address::SetCountry(const string16& country) { - std::string app_locale = AutoFillCountry::ApplicationLocale(); - country_code_ = AutoFillCountry::GetCountryCode(country, app_locale); + std::string app_locale = AutofillCountry::ApplicationLocale(); + country_code_ = AutofillCountry::GetCountryCode(country, app_locale); } bool Address::IsLine1(const string16& text) const { @@ -214,8 +214,8 @@ bool Address::IsState(const string16& text) const { } bool Address::IsCountry(const string16& text) const { - std::string app_locale = AutoFillCountry::ApplicationLocale(); - std::string country_code = AutoFillCountry::GetCountryCode(text, app_locale); + std::string app_locale = AutofillCountry::ApplicationLocale(); + std::string country_code = AutofillCountry::GetCountryCode(text, app_locale); return (!country_code.empty() && country_code_ == country_code); } |