LCOV - code coverage report
Current view: top level - dom/media - SeekJob.h (source / functions) Hit Total Coverage
Test: output.info Lines: 0 3 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: 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             : 
       7             : #ifndef SEEK_JOB_H
       8             : #define SEEK_JOB_H
       9             : 
      10             : #include "mozilla/MozPromise.h"
      11             : #include "MediaDecoder.h"
      12             : #include "MediaDecoderReader.h"
      13             : #include "SeekTarget.h"
      14             : 
      15             : namespace mozilla {
      16             : 
      17           0 : struct SeekJob
      18             : {
      19           0 :   SeekJob() = default;
      20           0 :   SeekJob(SeekJob&& aOther) = default;
      21             :   SeekJob& operator=(SeekJob&& aOther) = default;
      22             :   ~SeekJob();
      23             : 
      24             :   bool Exists() const;
      25             :   void Resolve(const char* aCallSite);
      26             :   void RejectIfExists(const char* aCallSite);
      27             : 
      28             :   Maybe<SeekTarget> mTarget;
      29             :   MozPromiseHolder<MediaDecoder::SeekPromise> mPromise;
      30             : };
      31             : 
      32             : } // namespace mozilla
      33             : 
      34             : #endif /* SEEK_JOB_H */

Generated by: LCOV version 1.13