Bug 1861709 replace AudioCallbackDriver::ThreadRunning() assertions that mean to...
[gecko.git] / netwerk / dns / DNSAdditionalInfo.cpp
blob885e9e10dc35705376c01b026b7459d3982c7121
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 #include "DNSAdditionalInfo.h"
7 namespace mozilla {
8 namespace net {
10 NS_IMPL_ISUPPORTS(DNSAdditionalInfo, nsIDNSAdditionalInfo)
12 NS_IMETHODIMP
13 DNSAdditionalInfo::GetPort(int32_t* aPort) {
14 *aPort = mPort;
15 return NS_OK;
18 NS_IMETHODIMP
19 DNSAdditionalInfo::GetResolverURL(nsACString& aURL) {
20 aURL = mURL;
21 return NS_OK;
24 } // namespace net
25 } // namespace mozilla