LCOV - code coverage report
Current view: top level - dom/media/gmp - DecryptJob.h (source / functions) Hit Total Coverage
Test: output.info Lines: 0 2 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 file,
       5             :  * You can obtain one at http://mozilla.org/MPL/2.0/. */
       6             : 
       7             : #ifndef DecryptJob_h_
       8             : #define DecryptJob_h_
       9             : 
      10             : #include "mozilla/CDMProxy.h"
      11             : #include "mozilla/Span.h"
      12             : 
      13             : namespace mozilla {
      14             : 
      15             : class DecryptJob {
      16             : public:
      17           0 :   NS_INLINE_DECL_THREADSAFE_REFCOUNTING(DecryptJob)
      18             : 
      19             :   explicit DecryptJob(MediaRawData* aSample);
      20             : 
      21             :   void PostResult(DecryptStatus aResult, Span<const uint8_t> aDecryptedData);
      22             :   void PostResult(DecryptStatus aResult);
      23             : 
      24             :   RefPtr<DecryptPromise> Ensure();
      25             : 
      26             :   const uint32_t mId;
      27             :   RefPtr<MediaRawData> mSample;
      28             : private:
      29           0 :   ~DecryptJob() {}
      30             :   MozPromiseHolder<DecryptPromise> mPromise;
      31             : };
      32             : 
      33             : } // namespace mozilla
      34             : 
      35             : #endif // DecryptJob_h_

Generated by: LCOV version 1.13