LCOV - code coverage report
Current view: top level - widget/headless - HeadlessSound.cpp (source / functions) Hit Total Coverage
Test: output.info Lines: 0 17 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 12 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             : #include "HeadlessSound.h"
       8             : 
       9             : namespace mozilla {
      10             : namespace widget {
      11             : 
      12           0 : NS_IMPL_ISUPPORTS(HeadlessSound, nsISound, nsIStreamLoaderObserver)
      13             : 
      14           0 : HeadlessSound::HeadlessSound()
      15             : {
      16           0 : }
      17             : 
      18           0 : HeadlessSound::~HeadlessSound()
      19             : {
      20           0 : }
      21             : 
      22             : NS_IMETHODIMP
      23           0 : HeadlessSound::Init()
      24             : {
      25           0 :   return NS_OK;
      26             : }
      27             : 
      28           0 : NS_IMETHODIMP HeadlessSound::OnStreamComplete(nsIStreamLoader *aLoader,
      29             :                                               nsISupports *context,
      30             :                                               nsresult aStatus,
      31             :                                               uint32_t dataLen,
      32             :                                               const uint8_t *data)
      33             : {
      34           0 :   return NS_OK;
      35             : }
      36             : 
      37           0 : NS_IMETHODIMP HeadlessSound::Beep()
      38             : {
      39           0 :   return NS_OK;
      40             : }
      41             : 
      42           0 : NS_IMETHODIMP HeadlessSound::Play(nsIURL *aURL)
      43             : {
      44           0 :   return NS_OK;
      45             : }
      46             : 
      47           0 : NS_IMETHODIMP HeadlessSound::PlayEventSound(uint32_t aEventId)
      48             : {
      49           0 :   return NS_OK;
      50             : }
      51             : 
      52           0 : NS_IMETHODIMP HeadlessSound::PlaySystemSound(const nsAString &aSoundAlias)
      53             : {
      54           0 :   return NS_OK;
      55             : }
      56             : 
      57             : } // namespace widget
      58             : } // namespace mozilla

Generated by: LCOV version 1.13