mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 798033 - Remove 'using namespace' from dom/ headers. r=echou
This commit is contained in:
parent
759ab69b0a
commit
bdda80d8b8
@ -8,9 +8,7 @@
|
||||
#define mozilla_dom_bluetooth_BluetoothSocketObserver_h
|
||||
|
||||
#include "BluetoothCommon.h"
|
||||
#include <mozilla/ipc/UnixSocket.h>
|
||||
|
||||
using namespace mozilla::ipc;
|
||||
#include "mozilla/ipc/UnixSocket.h"
|
||||
|
||||
BEGIN_BLUETOOTH_NAMESPACE
|
||||
|
||||
@ -19,8 +17,9 @@ class BluetoothSocket;
|
||||
class BluetoothSocketObserver
|
||||
{
|
||||
public:
|
||||
virtual void ReceiveSocketData(BluetoothSocket* aSocket,
|
||||
nsAutoPtr<UnixSocketRawData>& aMessage) = 0;
|
||||
virtual void ReceiveSocketData(
|
||||
BluetoothSocket* aSocket,
|
||||
nsAutoPtr<mozilla::ipc::UnixSocketRawData>& aMessage) = 0;
|
||||
|
||||
/**
|
||||
* A callback function which would be called when a socket connection
|
||||
|
@ -115,7 +115,8 @@ private:
|
||||
* false if the received length exceeds/not reaches the expected
|
||||
* length.
|
||||
*/
|
||||
bool ComposePacket(uint8_t aOpCode, UnixSocketRawData* aMessage);
|
||||
bool ComposePacket(uint8_t aOpCode,
|
||||
mozilla::ipc::UnixSocketRawData* aMessage);
|
||||
|
||||
/**
|
||||
* OBEX session status.
|
||||
|
@ -222,7 +222,7 @@ private:
|
||||
nsRefPtr<BluetoothSocket> mHandsfreeSocket;
|
||||
nsRefPtr<BluetoothSocket> mHeadsetSocket;
|
||||
nsRefPtr<BluetoothSocket> mScoSocket;
|
||||
SocketConnectionStatus mScoSocketStatus;
|
||||
mozilla::ipc::SocketConnectionStatus mScoSocketStatus;
|
||||
|
||||
#ifdef MOZ_B2G_RIL
|
||||
// CDMA-specific variable
|
||||
|
@ -115,7 +115,8 @@ private:
|
||||
* false if the received length exceeds/not reaches the expected
|
||||
* length.
|
||||
*/
|
||||
bool ComposePacket(uint8_t aOpCode, UnixSocketRawData* aMessage);
|
||||
bool ComposePacket(uint8_t aOpCode,
|
||||
mozilla::ipc::UnixSocketRawData* aMessage);
|
||||
|
||||
/**
|
||||
* OBEX session status.
|
||||
|
@ -28,8 +28,6 @@
|
||||
{0x89, 0x10, 0xf9, 0x3c, 0x55, 0xe6, 0x62, 0xec}}
|
||||
#define NS_AUDIOMANAGER_CONTRACTID "@mozilla.org/telephony/audiomanager;1"
|
||||
|
||||
using namespace mozilla::dom;
|
||||
|
||||
namespace mozilla {
|
||||
namespace hal {
|
||||
class SwitchEvent;
|
||||
|
Loading…
Reference in New Issue
Block a user