LCOV - code coverage report
Current view: top level - dom/presentation - DCPresentationChannelDescription.cpp (source / functions) Hit Total Coverage
Test: output.info Lines: 0 13 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 7 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             : #include "DCPresentationChannelDescription.h"
       8             : 
       9             : namespace mozilla {
      10             : namespace dom {
      11             : 
      12           0 : NS_IMPL_ISUPPORTS(DCPresentationChannelDescription,
      13             :                   nsIPresentationChannelDescription)
      14             : 
      15             : NS_IMETHODIMP
      16           0 : DCPresentationChannelDescription::GetType(uint8_t* aRetVal)
      17             : {
      18           0 :   if (NS_WARN_IF(!aRetVal)) {
      19           0 :     return NS_ERROR_INVALID_POINTER;
      20             :   }
      21             : 
      22           0 :   *aRetVal = nsIPresentationChannelDescription::TYPE_DATACHANNEL;
      23           0 :   return NS_OK;
      24             : }
      25             : 
      26             : NS_IMETHODIMP
      27           0 : DCPresentationChannelDescription::GetTcpAddress(nsIArray** aRetVal)
      28             : {
      29           0 :   return NS_ERROR_FAILURE;
      30             : }
      31             : 
      32             : NS_IMETHODIMP
      33           0 : DCPresentationChannelDescription::GetTcpPort(uint16_t* aRetVal)
      34             : {
      35           0 :   return NS_ERROR_FAILURE;
      36             : }
      37             : 
      38             : NS_IMETHODIMP
      39           0 : DCPresentationChannelDescription::GetDataChannelSDP(nsAString& aDataChannelSDP)
      40             : {
      41           0 :   aDataChannelSDP = mSDP;
      42           0 :   return NS_OK;
      43             : }
      44             : 
      45             : } // namespace dom
      46             : } // namespace mozilla

Generated by: LCOV version 1.13