LCOV - code coverage report
Current view: top level - dom/media/flac - FlacDecoder.h (source / functions) Hit Total Coverage
Test: output.info Lines: 0 4 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 3 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
       2             : /* vim: set ts=8 sts=2 et sw=2 tw=80: */
       3             : /* This Source Code Form is subject to the terms of the Mozilla Public
       4             :  * License, v. 2.0. If a copy of the MPL was not distributed with this
       5             :  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
       6             : 
       7             : #ifndef FLAC_DECODER_H_
       8             : #define FLAC_DECODER_H_
       9             : 
      10             : #include "ChannelMediaDecoder.h"
      11             : 
      12             : namespace mozilla {
      13             : 
      14             : class MediaContainerType;
      15             : 
      16           0 : class FlacDecoder : public ChannelMediaDecoder
      17             : {
      18             : public:
      19             :   // MediaDecoder interface.
      20           0 :   explicit FlacDecoder(MediaDecoderInit& aInit)
      21           0 :     : ChannelMediaDecoder(aInit)
      22             :   {
      23           0 :   }
      24             :   ChannelMediaDecoder* Clone(MediaDecoderInit& aInit) override;
      25             :   MediaDecoderStateMachine* CreateStateMachine() override;
      26             : 
      27             :   // Returns true if the Flac backend is pref'ed on, and we're running on a
      28             :   // platform that is likely to have decoders for the format.
      29             :   static bool IsEnabled();
      30             :   static bool IsSupportedType(const MediaContainerType& aContainerType);
      31             : };
      32             : 
      33             : } // namespace mozilla
      34             : 
      35             : #endif // !FLAC_DECODER_H_

Generated by: LCOV version 1.13