Index: third_party/libaddressinput/chromium/cpp/src/address_problem.cc |
diff --git a/third_party/libaddressinput/chromium/cpp/src/address_problem.cc b/third_party/libaddressinput/chromium/cpp/src/address_problem.cc |
index 14a00303af86ebec8ebd4468d0646be54de3faeb..d823e114de7867044a800a730a0121c42aa60f6b 100644 |
--- a/third_party/libaddressinput/chromium/cpp/src/address_problem.cc |
+++ b/third_party/libaddressinput/chromium/cpp/src/address_problem.cc |
@@ -15,10 +15,18 @@ |
#include <libaddressinput/address_problem.h> |
#include <ostream> |
+#include <string> |
namespace i18n { |
namespace addressinput { |
+AddressProblem::AddressProblem(AddressField field, |
+ Type type, |
+ const std::string& description) |
+ : field(field), type(type), description(description) {} |
+ |
+AddressProblem::~AddressProblem() {} |
+ |
std::ostream& operator<<(std::ostream& o, AddressProblem::Type problem_type) { |
switch (problem_type) { |
case AddressProblem::MISSING_REQUIRED_FIELD: |