summaryrefslogtreecommitdiff
path: root/chromium/components/autofill/core/browser/geo/state_names.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/components/autofill/core/browser/geo/state_names.h')
-rw-r--r--chromium/components/autofill/core/browser/geo/state_names.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/chromium/components/autofill/core/browser/geo/state_names.h b/chromium/components/autofill/core/browser/geo/state_names.h
index 0524f1f080c..621c8fd6086 100644
--- a/chromium/components/autofill/core/browser/geo/state_names.h
+++ b/chromium/components/autofill/core/browser/geo/state_names.h
@@ -5,25 +5,26 @@
#ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_GEO_STATE_NAMES_H_
#define COMPONENTS_AUTOFILL_CORE_BROWSER_GEO_STATE_NAMES_H_
-#include "base/strings/string16.h"
+#include <string>
+
namespace autofill {
namespace state_names {
// Returns the abbreviation corresponding to the state |name|, or the
// empty string if there is no such state.
-base::string16 GetAbbreviationForName(const base::string16& name);
+std::u16string GetAbbreviationForName(const std::u16string& name);
// Returns the full state name corresponding to the |abbrevation|, or the empty
// string if there is no such state.
-base::string16 GetNameForAbbreviation(const base::string16& abbreviation);
+std::u16string GetNameForAbbreviation(const std::u16string& abbreviation);
// |value| is either a state name or abbreviation. Detects which it is, and
// outputs both |name| and |abbreviation|. If it's neither, then |name| is
// set to |value| and |abbreviation| will be empty.
-void GetNameAndAbbreviation(const base::string16& value,
- base::string16* name,
- base::string16* abbreviation);
+void GetNameAndAbbreviation(const std::u16string& value,
+ std::u16string* name,
+ std::u16string* abbreviation);
} // namespace state_names
} // namespace autofill