parser/htmlparser/nsParserBase.h
author Andreas Pehrson <pehrsons@gmail.com>
Tue, 24 May 2016 13:24:04 +0200
changeset 370265 c539999a334d1f357da0d85b189883dfdd5394b8
parent 201671 f37d8b5936c470718e80f34d9ea9ca942b63de8b
child 489668 cbb8fdf1daf98a15f7d57f6b08d273bdf96aa1a0
child 694109 98e2b4ee9775a2a2b5cc1bb8a390bfe901814f38
permissions -rw-r--r--
Bug 1274221 - Test that multiple tracks of the same source all end when in the same stream. r?jib MozReview-Commit-ID: 64T6I4RDrKH

/* 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 nsParserBase_h_
#define nsParserBase_h_

#include "nsIChannel.h"

class nsParserBase : public nsISupports
{
  public:
    NS_IMETHOD_(bool) IsParserEnabled() { return true; }
    NS_IMETHOD GetChannel(nsIChannel** aChannel) {
      *aChannel = nullptr;
      return NS_OK;
    }
};

#endif // nsParserBase_h_