netwerk/socket/nsUDPSocketProvider.h
author Ehsan Akhgari <ehsan@mozilla.com>
Tue, 05 Jun 2012 23:18:25 -0400
changeset 96583 866b1639131dc195d66705e825be482057c33b80
parent 94475 f4157e8c410708d76703f19e4dfb61859bfe32d8
child 139615 14bd6018f287849d5a43f0238cb01e9b1a81e29e
permissions -rw-r--r--
Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (netwerk parts); r=jduell

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#ifndef nsUDPSocketProvider_h__
#define nsUDPSocketProvider_h__

#include "nsISocketProvider.h"
#include "mozilla/Attributes.h"

class nsUDPSocketProvider MOZ_FINAL : public nsISocketProvider
{
public:
    NS_DECL_ISUPPORTS
    NS_DECL_NSISOCKETPROVIDER

private:
    ~nsUDPSocketProvider();

};

#endif /* nsUDPSocketProvider_h__ */