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

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

Issue 131223004: [rac] Format an address for display. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge. 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_ui.h
diff --git a/third_party/libaddressinput/chromium/cpp/include/libaddressinput/address_ui.h b/third_party/libaddressinput/chromium/cpp/include/libaddressinput/address_ui.h
index 45d2e0305468a9612644b37509a818303b364ad8..eaba1b587a840bfdf29a43ad348f507015e3dd93 100644
--- a/third_party/libaddressinput/chromium/cpp/include/libaddressinput/address_ui.h
+++ b/third_party/libaddressinput/chromium/cpp/include/libaddressinput/address_ui.h
@@ -30,6 +30,12 @@ const std::vector<std::string>& GetRegionCodes();
// on error.
std::vector<AddressUiComponent> BuildComponents(const std::string& region_code);
+// Returns the string to use as a separator between lines when displaying the
+// address in a compact form. For example, returns ", " for en-US.
+const std::string& GetCompactAddressLinesSeparator(
+ const std::string& language_code,
+ const std::string& country_code);
+
} // namespace addressinput
} // namespace i18n

Powered by Google App Engine
This is Rietveld 408576698