Bug 1388927 - Port bug 1380617 to C-C. Add GetDisplayPrePath() method. r=jorgk
authorRichard Marti <richard.marti@gmail.com>
Thu, 10 Aug 2017 01:50:25 +0200
changeset 29517 4c712bcd90622f8611ccef9a8d1f65ea10a8042e
parent 29516 838073194362fbcfc55e06f662bcaf198b086b34
child 29518 adfba6a54bbe65601bc87dc4fa98d3394a302d91
push id378
push userclokep@gmail.com
push dateMon, 13 Nov 2017 18:45:35 +0000
reviewersjorgk
bugs1388927, 1380617
Bug 1388927 - Port bug 1380617 to C-C. Add GetDisplayPrePath() method. r=jorgk
ldap/xpcom/src/nsLDAPURL.cpp
mailnews/addrbook/src/nsAddbookUrl.cpp
mailnews/base/util/nsMsgMailNewsUrl.cpp
mailnews/compose/src/nsSmtpUrl.cpp
--- a/ldap/xpcom/src/nsLDAPURL.cpp
+++ b/ldap/xpcom/src/nsLDAPURL.cpp
@@ -725,16 +725,22 @@ nsLDAPURL::GetDisplayHostPort(nsACString
 
 NS_IMETHODIMP
 nsLDAPURL::GetDisplayHost(nsACString& aUnicodeHost)
 {
   return GetHost(aUnicodeHost);
 }
 
 NS_IMETHODIMP
+nsLDAPURL::GetDisplayPrePath(nsACString& aPrePath)
+{
+  return GetPrePath(aPrePath);
+}
+
+NS_IMETHODIMP
 nsLDAPURL::GetHasRef(bool *result)
 {
   return mBaseURL->GetHasRef(result);
 }
 
 NS_IMETHODIMP
 nsLDAPURL::GetFilePath(nsACString &aFilePath)
 {
--- a/mailnews/addrbook/src/nsAddbookUrl.cpp
+++ b/mailnews/addrbook/src/nsAddbookUrl.cpp
@@ -305,16 +305,22 @@ nsAddbookUrl::GetDisplayHostPort(nsACStr
 
 NS_IMETHODIMP
 nsAddbookUrl::GetDisplayHost(nsACString& aUnicodeHost)
 {
   return GetHost(aUnicodeHost);
 }
 
 NS_IMETHODIMP
+nsAddbookUrl::GetDisplayPrePath(nsACString& aPrePath)
+{
+  return GetPrePath(aPrePath);
+}
+
+NS_IMETHODIMP
 nsAddbookUrl::GetHasRef(bool *result)
 {
   return m_baseURL->GetHasRef(result);
 }
 
 //
 // Specific nsAddbookUrl operations
 //
--- a/mailnews/base/util/nsMsgMailNewsUrl.cpp
+++ b/mailnews/base/util/nsMsgMailNewsUrl.cpp
@@ -594,16 +594,22 @@ nsMsgMailNewsUrl::GetDisplayHostPort(nsA
 
 NS_IMETHODIMP
 nsMsgMailNewsUrl::GetDisplayHost(nsACString& aUnicodeHost)
 {
   return GetHost(aUnicodeHost);
 }
 
 NS_IMETHODIMP
+nsMsgMailNewsUrl::GetDisplayPrePath(nsACString& aPrePath)
+{
+  return GetPrePath(aPrePath);
+}
+
+NS_IMETHODIMP
 nsMsgMailNewsUrl::GetHasRef(bool *result)
 {
   return m_baseURL->GetHasRef(result);
 }
 
 NS_IMETHODIMP nsMsgMailNewsUrl::SchemeIs(const char *aScheme, bool *_retval)
 {
   return m_baseURL->SchemeIs(aScheme, _retval);
--- a/mailnews/compose/src/nsSmtpUrl.cpp
+++ b/mailnews/compose/src/nsSmtpUrl.cpp
@@ -609,16 +609,22 @@ nsMailtoUrl::GetDisplayHostPort(nsACStri
 
 NS_IMETHODIMP
 nsMailtoUrl::GetDisplayHost(nsACString& aUnicodeHost)
 {
   return GetHost(aUnicodeHost);
 }
 
 NS_IMETHODIMP
+nsMailtoUrl::GetDisplayPrePath(nsACString& aPrePath)
+{
+  return GetPrePath(aPrePath);
+}
+
+NS_IMETHODIMP
 nsMailtoUrl::GetHasRef(bool *result)
 {
   return m_baseURL->GetHasRef(result);
 }
 
 NS_IMETHODIMP
 nsMailtoUrl::GetFilePath(nsACString &aFilePath)
 {