| Index: third_party/libaddressinput/chromium/cpp/src/rule.h
|
| diff --git a/third_party/libaddressinput/chromium/cpp/src/rule.h b/third_party/libaddressinput/chromium/cpp/src/rule.h
|
| index cc0a3d7a3b34596505bfa1213d872493a4fc020c..035f4a21f3455f4bcdb492cba922e2f2a0d33069 100644
|
| --- a/third_party/libaddressinput/chromium/cpp/src/rule.h
|
| +++ b/third_party/libaddressinput/chromium/cpp/src/rule.h
|
| @@ -165,13 +165,16 @@ class Rule {
|
| int GetInvalidFieldMessageId(AddressField field) const;
|
|
|
| // Outputs the sub key for a given user input. For example, Texas will map to
|
| - // TX.
|
| + // TX. If |canonicalize_latin_name| is true, then canonicalizes latin names,
|
| + // too. This can lead to changing a latinized name into a local script name.
|
| bool CanonicalizeSubKey(const std::string& user_input,
|
| + bool canonicalize_latin_name,
|
| std::string* sub_key) const;
|
|
|
| private:
|
| // Finds |target| in |values| and sets |sub_key| to the associated value from
|
| - // |sub_keys_|, or returns false if |target| is not in |values|.
|
| + // |sub_keys_|, or returns false if |target| is not in |values|. |sub_key| can
|
| + // be NULL.
|
| bool GetMatchingSubKey(const std::string& target,
|
| const std::vector<std::string>& values,
|
| std::string* sub_key) const;
|
|
|