Bug 1523969 part 23 - Move method definition inline comments to new line in 'toolkit/'. r=ehsan

Differential Revision: https://phabricator.services.mozilla.com/D21124
This commit is contained in:
Ryan Hunt
2019-02-25 16:12:51 -06:00
parent 8ebba0032e
commit 743a2a46fe
23 changed files with 241 additions and 161 deletions

View File

@@ -263,7 +263,8 @@ void LookupCache::GetCacheInfo(nsIUrlClassifierCacheInfo** aCache) const {
info.forget(aCache);
}
/* static */ bool LookupCache::IsCanonicalizedIP(const nsACString& aHost) {
/* static */
bool LookupCache::IsCanonicalizedIP(const nsACString& aHost) {
// The canonicalization process will have left IP addresses in dotted
// decimal with no surprises.
uint32_t i1, i2, i3, i4;
@@ -276,8 +277,9 @@ void LookupCache::GetCacheInfo(nsIUrlClassifierCacheInfo** aCache) const {
return false;
}
/* static */ nsresult LookupCache::GetLookupFragments(
const nsACString& aSpec, nsTArray<nsCString>* aFragments)
/* static */
nsresult LookupCache::GetLookupFragments(const nsACString& aSpec,
nsTArray<nsCString>* aFragments)
{
aFragments->Clear();
@@ -379,8 +381,9 @@ void LookupCache::GetCacheInfo(nsIUrlClassifierCacheInfo** aCache) const {
return NS_OK;
}
/* static */ nsresult LookupCache::GetHostKeys(const nsACString& aSpec,
nsTArray<nsCString>* aHostKeys) {
/* static */
nsresult LookupCache::GetHostKeys(const nsACString& aSpec,
nsTArray<nsCString>* aHostKeys) {
nsACString::const_iterator begin, end, iter;
aSpec.BeginReading(begin);
aSpec.EndReading(end);