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