netwerk/protocol/data/nsDataModule.cpp
author Seth Fowler <mark.seth.fowler@gmail.com>
Mon, 01 Aug 2016 17:02:16 -0700
changeset 351964 41ecafc5752459e2e10de8df764b403559feb28a
parent 98983 f4157e8c410708d76703f19e4dfb61859bfe32d8
child 418830 6a629adbb62a299d7208373d1c6f375149d2afdb
permissions -rw-r--r--
Bug 1291045 (Part 1) - Use a different IDecodingTask for animated images. r=dholbert,edwin

/* -*- 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)