netwerk/socket/nsSocketProviderService.h
author Benoit Jacob <bjacob@mozilla.com>
Tue, 24 Jun 2014 12:36:44 -0400
changeset 190501 ef6cb0f76224810fdaf44cd4c5164ff552e0ade0
parent 139602 14bd6018f287849d5a43f0238cb01e9b1a81e29e
child 416428 17e1f96d453f869f9bb64cc1d889320ca2b4adba
permissions -rw-r--r--
Bug 1028588 - Fix dangerous public destructors in netwerk/ - r=mcmanus

/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* 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 nsSocketProviderService_h__
#define nsSocketProviderService_h__

#include "nsISocketProviderService.h"

class nsSocketProviderService : public nsISocketProviderService
{
  virtual ~nsSocketProviderService() {}

public:
  NS_DECL_THREADSAFE_ISUPPORTS
  NS_DECL_NSISOCKETPROVIDERSERVICE

  nsSocketProviderService() {}

  static nsresult Create(nsISupports *, REFNSIID aIID, void **aResult);
};

#endif /* nsSocketProviderService_h__ */