Chromium Code Reviews| Index: third_party/libaddressinput/chromium/cpp/include/libaddressinput/address_problem.h |
| diff --git a/third_party/libaddressinput/chromium/cpp/include/libaddressinput/address_problem.h b/third_party/libaddressinput/chromium/cpp/include/libaddressinput/address_problem.h |
| index 841f8d19828e1cc2677ec772f756e0dd72e50354..da2117e3184072798d273f9bfb3c296fc512c275 100644 |
| --- a/third_party/libaddressinput/chromium/cpp/include/libaddressinput/address_problem.h |
| +++ b/third_party/libaddressinput/chromium/cpp/include/libaddressinput/address_problem.h |
| @@ -59,7 +59,7 @@ struct AddressProblem { |
| MISMATCHING_VALUE |
| }; |
| - AddressProblem(AddressField field, Type type, const std::string& description); |
| + AddressProblem(AddressField field, Type type, int description_id); |
| ~AddressProblem(); |
| // The address field that has the problem. |
| @@ -68,8 +68,9 @@ struct AddressProblem { |
| // The type of problem. |
| Type type; |
| - // The human readable description of the problem. |
| - std::string description; |
| + // The ID for the string that is the human readable description of the |
|
please use gerrit instead
2014/01/13 18:50:13
Let's keep the ID vs id capitalization consistent.
Evan Stade
2014/01/13 23:36:07
Done.
|
| + // problem. |
| + int description_id; |
| }; |
| // Produces human-readable output in logging, for example in unit tests. |