Coverage Report

Created: 2018-09-25 14:53

/src/mozilla-central/dom/presentation/DCPresentationChannelDescription.h
Line
Count
Source (jump to first uncovered line)
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
#ifndef mozilla_dom_DCPresentationChannelDescription_h
8
#define mozilla_dom_DCPresentationChannelDescription_h
9
10
#include "nsIPresentationControlChannel.h"
11
#include "nsString.h"
12
13
namespace mozilla {
14
namespace dom {
15
16
// PresentationChannelDescription for Data Channel
17
class DCPresentationChannelDescription final : public nsIPresentationChannelDescription
18
{
19
public:
20
  NS_DECL_ISUPPORTS
21
  NS_DECL_NSIPRESENTATIONCHANNELDESCRIPTION
22
23
  explicit DCPresentationChannelDescription(const nsAString& aSDP)
24
    : mSDP(aSDP)
25
0
  {
26
0
  }
27
28
private:
29
0
  virtual ~DCPresentationChannelDescription() = default;
30
31
  nsString mSDP;
32
};
33
34
} // namespace dom
35
} // namespace mozilla
36
37
#endif // mozilla_dom_DCPresentationChannelDescription_h