Index: third_party/libaddressinput/chromium/cpp/src/address_field_util.h |
diff --git a/third_party/libaddressinput/chromium/cpp/src/address_field_util.h b/third_party/libaddressinput/chromium/cpp/src/address_field_util.h |
index e55b9502a6b1f545edeb3708da4346e4b76efea2..334f02f4bb8ec92b8d6f534eacc822a4ae8dcc36 100644 |
--- a/third_party/libaddressinput/chromium/cpp/src/address_field_util.h |
+++ b/third_party/libaddressinput/chromium/cpp/src/address_field_util.h |
@@ -36,6 +36,12 @@ enum { |
void ParseAddressFieldsFormat(const std::string& format, |
std::vector<AddressField>* fields); |
+// Clears |fields|, parses |required|, and adds the required fields to |fields|. |
+// For example, parses "SCDX" into {ADMIN_AREA, LOCALITY, DEPENDENT_LOCALITY, |
+// SORTING_CODE}. |
+void ParseAddressFieldsRequired(const std::string& required, |
Evan Stade
2013/12/17 19:47:24
why isn't this part of Rule? what other code will
please use gerrit instead
2013/12/18 00:57:50
This header is only every used in Rule. Moved ever
|
+ std::vector<AddressField>* fields); |
+ |
} // namespace addressinput |
} // namespace i18n |