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

Unified Diff: third_party/libaddressinput/chromium/cpp/src/rule.h

Issue 211443003: Revert of Determine language code and type of format for address. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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/rule.h
diff --git a/third_party/libaddressinput/chromium/cpp/src/rule.h b/third_party/libaddressinput/chromium/cpp/src/rule.h
index cc0a3d7a3b34596505bfa1213d872493a4fc020c..80cc8308f62f5162ada9dd54b7f20f796ef13099 100644
--- a/third_party/libaddressinput/chromium/cpp/src/rule.h
+++ b/third_party/libaddressinput/chromium/cpp/src/rule.h
@@ -108,12 +108,6 @@
return format_;
}
- // Returns the latinized format of the address as it should appear on an
- // envelope.
- const std::vector<std::vector<FormatElement> >& GetLatinFormat() const {
- return latin_format_;
- }
-
// Returns the required fields for this rule.
const std::vector<AddressField>& GetRequired() const { return required_; }
@@ -126,12 +120,6 @@
// Returns all of the language codes for which this rule has custom rules, for
// example ["de", "fr", "it"].
const std::vector<std::string>& GetLanguages() const { return languages_; }
-
- // Returns all of the languages codes for addresses that adhere to this rule,
- // for example ["de", "fr", "gsw", "it"].
- const std::vector<std::string>& GetInputLanguages() const {
- return input_languages_;
- }
// Returns the language code of this rule, for example "de".
const std::string& GetLanguage() const { return language_; }
@@ -180,14 +168,12 @@
std::string name_;
std::string latin_name_;
std::vector<std::vector<FormatElement> > format_;
- std::vector<std::vector<FormatElement> > latin_format_;
std::vector<AddressField> required_;
std::vector<std::string> sub_keys_;
std::vector<std::string> sub_names_;
// The Latin names (when |sub_names_| is not in Latin characters).
std::vector<std::string> sub_lnames_;
std::vector<std::string> languages_;
- std::vector<std::string> input_languages_;
std::string language_;
std::string postal_code_format_;
int admin_area_name_message_id_;
« no previous file with comments | « third_party/libaddressinput/chromium/cpp/src/retriever.cc ('k') | third_party/libaddressinput/chromium/cpp/src/rule.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698