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

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

Issue 134903003: libaddressinput string translations (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: pull all the way Created 6 years, 11 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_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..38c02249129cabdd28e528e8e77895ebba30e6e1 100644
--- a/third_party/libaddressinput/chromium/cpp/include/libaddressinput/address_problem.h
+++ b/third_party/libaddressinput/chromium/cpp/include/libaddressinput/address_problem.h
@@ -18,7 +18,6 @@
#include <libaddressinput/address_field.h>
#include <iosfwd>
-#include <string>
namespace i18n {
namespace addressinput {
@@ -59,7 +58,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 +67,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
+ // problem.
+ int description_id;
};
// Produces human-readable output in logging, for example in unit tests.
« no previous file with comments | « chrome/tools/build/repack_locales.py ('k') | third_party/libaddressinput/chromium/cpp/include/libaddressinput/address_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698