Bug 868778 - Part a: Move nsDOMDataChannel.h to nsDOMDataChannelDeclarations.h; r=jesup

--HG--
rename : content/base/src/nsDOMDataChannel.h => content/base/src/nsDOMDataChannelDeclarations.h
This commit is contained in:
Ms2ger 2013-05-20 09:10:59 +02:00
Родитель 9a5cb640ab
Коммит c065e2417e
4 изменённых файлов: 8 добавлений и 6 удалений

Просмотреть файл

@ -35,7 +35,9 @@ EXPORTS += [
] ]
if CONFIG['MOZ_WEBRTC']: if CONFIG['MOZ_WEBRTC']:
EXPORTS += ['nsDOMDataChannel.h'] EXPORTS += [
'nsDOMDataChannelDeclarations.h',
]
EXPORTS.mozilla.dom += [ EXPORTS.mozilla.dom += [
'Attr.h', 'Attr.h',

Просмотреть файл

@ -18,7 +18,7 @@ extern PRLogModuleInfo* GetDataChannelLog();
#define LOG(args) PR_LOG(GetDataChannelLog(), PR_LOG_DEBUG, args) #define LOG(args) PR_LOG(GetDataChannelLog(), PR_LOG_DEBUG, args)
#include "nsDOMDataChannel.h" #include "nsDOMDataChannelDeclarations.h"
#include "nsIDOMFile.h" #include "nsIDOMFile.h"
#include "nsIJSNativeInitializer.h" #include "nsIJSNativeInitializer.h"
#include "nsIDOMDataChannel.h" #include "nsIDOMDataChannel.h"

Просмотреть файл

@ -4,8 +4,8 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef nsDOMDataChannel_h__ #ifndef nsDOMDataChannelDeclarations_h
#define nsDOMDataChannel_h__ #define nsDOMDataChannelDeclarations_h
// This defines only what's necessary to create nsDOMDataChannels, since this // This defines only what's necessary to create nsDOMDataChannels, since this
// gets used with MOZ_INTERNAL_API not set for media/webrtc/signaling/testing // gets used with MOZ_INTERNAL_API not set for media/webrtc/signaling/testing
@ -27,4 +27,4 @@ NS_NewDOMDataChannel(already_AddRefed<mozilla::DataChannel> dataChannel,
// Tell DataChannel it's ok to deliver open and message events // Tell DataChannel it's ok to deliver open and message events
void NS_DataChannelAppReady(nsIDOMDataChannel* domDataChannel); void NS_DataChannelAppReady(nsIDOMDataChannel* domDataChannel);
#endif #endif // nsDOMDataChannelDeclarations_h

Просмотреть файл

@ -33,7 +33,7 @@
#include "PeerConnectionCtx.h" #include "PeerConnectionCtx.h"
#include "PeerConnectionImpl.h" #include "PeerConnectionImpl.h"
#include "nsPIDOMWindow.h" #include "nsPIDOMWindow.h"
#include "nsDOMDataChannel.h" #include "nsDOMDataChannelDeclarations.h"
#ifdef MOZILLA_INTERNAL_API #ifdef MOZILLA_INTERNAL_API
#include "nsContentUtils.h" #include "nsContentUtils.h"