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

          Line data    Source code
       1             : /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
       2             : /* vim:set ts=2 sw=2 sts=2 et cindent: */
       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             : #if !defined(WebMDecoder_h_)
       7             : #define WebMDecoder_h_
       8             : 
       9             : #include "ChannelMediaDecoder.h"
      10             : #include "MediaFormatReader.h"
      11             : 
      12             : namespace mozilla {
      13             : 
      14             : class MediaContainerType;
      15             : 
      16           0 : class WebMDecoder : public ChannelMediaDecoder
      17             : {
      18             : public:
      19           0 :   explicit WebMDecoder(MediaDecoderInit& aInit)
      20           0 :     : ChannelMediaDecoder(aInit)
      21             :   {
      22           0 :   }
      23           0 :   ChannelMediaDecoder* Clone(MediaDecoderInit& aInit) override
      24             :   {
      25           0 :     if (!IsWebMEnabled()) {
      26           0 :       return nullptr;
      27             :     }
      28           0 :     return new WebMDecoder(aInit);
      29             :   }
      30             :   MediaDecoderStateMachine* CreateStateMachine() override;
      31             : 
      32             :   // Returns true if aContainerType is a WebM type that we think we can render
      33             :   // with an enabled platform decoder backend.
      34             :   // If provided, codecs are checked for support.
      35             :   static bool IsSupportedType(const MediaContainerType& aContainerType);
      36             : 
      37             :   void GetMozDebugReaderData(nsACString& aString) override;
      38             : };
      39             : 
      40             : } // namespace mozilla
      41             : 
      42             : #endif

Generated by: LCOV version 1.13