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

Unified Diff: third_party/libaddressinput/chromium/cpp/src/address_problem.cc

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/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 d823e114de7867044a800a730a0121c42aa60f6b..0b204e34d67ffc74d0b7b7d988abb5800f801bda 100644
--- a/third_party/libaddressinput/chromium/cpp/src/address_problem.cc
+++ b/third_party/libaddressinput/chromium/cpp/src/address_problem.cc
@@ -22,8 +22,8 @@ namespace addressinput {
AddressProblem::AddressProblem(AddressField field,
Type type,
- const std::string& description)
- : field(field), type(type), description(description) {}
+ int description_id)
+ : field(field), type(type), description_id(description_id) {}
AddressProblem::~AddressProblem() {}
@@ -51,7 +51,7 @@ std::ostream& operator<<(std::ostream& o, AddressProblem::Type problem_type) {
std::ostream& operator<<(std::ostream& o, const AddressProblem& problem) {
o << "[" << problem.field << ", "
<< problem.type << ", \""
- << problem.description << "\"]";
+ << problem.description_id << "\"]";
return o;
}

Powered by Google App Engine
This is Rietveld 408576698