netwerk/protocol/data/nsDataModule.cpp
author Irving Reid <irving@mozilla.com>
Thu, 20 Mar 2014 13:41:42 -0400
changeset 174825 2ff265d0eb77b641497e7d44a00b320ec1432e72
parent 94475 f4157e8c410708d76703f19e4dfb61859bfe32d8
child 489668 cbb8fdf1daf98a15f7d57f6b08d273bdf96aa1a0
child 604743 00518e4b68f181bd38e71eb944c683ef494f2261
permissions -rw-r--r--
Bug 986000 - Fix addonsListTmp undefined error in XPIProviderUtils.js. r=Mossop

/* -*- Mode: C++; tab-width: 4; 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/. */

#include "nsIModule.h"
#include "nsIGenericFactory.h"
#include "nsDataHandler.h"

// The list of components we register
static const nsModuleComponentInfo components[] = {
    { "Data Protocol Handler", 
      NS_DATAHANDLER_CID,
      NS_NETWORK_PROTOCOL_CONTRACTID_PREFIX "data", 
      nsDataHandler::Create},
};

NS_IMPL_NSGETMODULE(nsDataProtocolModule, components)