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

Unified Diff: third_party/libaddressinput/chromium/cpp/include/libaddressinput/address_data.h

Issue 261013010: autocomplete: add ability to get full address (hidden behind a flag). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: self review Created 6 years, 7 months 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
Index: third_party/libaddressinput/chromium/cpp/include/libaddressinput/address_data.h
diff --git a/third_party/libaddressinput/chromium/cpp/include/libaddressinput/address_data.h b/third_party/libaddressinput/chromium/cpp/include/libaddressinput/address_data.h
index e101877b3b2960b7e0109ce3e37fa8143d6f09dc..8fd76fbe7b334c13926ce4c940d725c65d0bb822 100644
--- a/third_party/libaddressinput/chromium/cpp/include/libaddressinput/address_data.h
+++ b/third_party/libaddressinput/chromium/cpp/include/libaddressinput/address_data.h
@@ -56,6 +56,9 @@ struct AddressData {
// which comprises multiple fields.
void SetFieldValue(AddressField field, const std::string& value);
+ // Returns true if all required fields are present (non-empty).
+ bool HasAllRequiredFields() const;
+
// The BCP 47 language code used to guide how the address is formatted for
// display. The same address may have different representations in different
// languages.

Powered by Google App Engine
This is Rietveld 408576698