2012-10-04 03:51:47 +04:00
|
|
|
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2015-05-03 22:32:37 +03:00
|
|
|
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
|
2012-10-04 03:51:47 +04:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
|
2013-05-20 11:10:59 +04:00
|
|
|
#ifndef nsDOMDataChannelDeclarations_h
|
|
|
|
#define nsDOMDataChannelDeclarations_h
|
2012-10-04 03:51:47 +04:00
|
|
|
|
|
|
|
// This defines only what's necessary to create nsDOMDataChannels, since this
|
|
|
|
// gets used with MOZ_INTERNAL_API not set for media/webrtc/signaling/testing
|
|
|
|
|
2012-11-02 23:28:13 +04:00
|
|
|
#include "nsCOMPtr.h"
|
2012-10-04 03:51:47 +04:00
|
|
|
|
|
|
|
namespace mozilla {
|
|
|
|
class DataChannel;
|
|
|
|
}
|
|
|
|
|
2018-04-04 22:32:19 +03:00
|
|
|
class nsDOMDataChannel;
|
2016-01-30 20:05:36 +03:00
|
|
|
class nsPIDOMWindowInner;
|
2012-10-04 03:51:47 +04:00
|
|
|
|
|
|
|
nsresult
|
2014-03-15 23:00:17 +04:00
|
|
|
NS_NewDOMDataChannel(already_AddRefed<mozilla::DataChannel>&& dataChannel,
|
2016-01-30 20:05:36 +03:00
|
|
|
nsPIDOMWindowInner* aWindow,
|
2018-04-04 22:32:19 +03:00
|
|
|
nsDOMDataChannel** domDataChannel);
|
2012-10-04 03:51:47 +04:00
|
|
|
|
2013-05-20 11:10:59 +04:00
|
|
|
#endif // nsDOMDataChannelDeclarations_h
|