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

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

Issue 109323011: [rac] Download all rules for a country code in libaddressinput. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Abandon in-progress requests upon new requests. 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/rule.h
diff --git a/third_party/libaddressinput/chromium/cpp/src/rule.h b/third_party/libaddressinput/chromium/cpp/src/rule.h
index 428a44d66a5f01dc6a8febcc1af88e86294b9a78..eab1de7454dd23ddf2a62000a262b32d6c48ea3a 100644
--- a/third_party/libaddressinput/chromium/cpp/src/rule.h
+++ b/third_party/libaddressinput/chromium/cpp/src/rule.h
@@ -36,6 +36,11 @@ class Rule {
Rule();
~Rule();
+ // Returns the default rule at a country level. If a country does not specify
+ // address format, for example, then the format from this rule should be used
+ // instead.
+ static const Rule& GetDefault();
+
// Copies all data from |rule|.
void CopyFrom(const Rule& rule);

Powered by Google App Engine
This is Rietveld 408576698