mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1171017: Rename |BluetoothDaemonConnectionConsumer| to |DaemonSocketConsumer|, r=shuang
This commit is contained in:
parent
e11efb02a2
commit
98654534cb
@ -2321,7 +2321,7 @@ BluetoothDaemonInterface::GetBluetoothGattInterface()
|
||||
return mGattInterface;
|
||||
}
|
||||
|
||||
// |BluetoothDaemonConnectionConsumer|, |ListenSocketConsumer|
|
||||
// |DaemonSocketConsumer|, |ListenSocketConsumer|
|
||||
|
||||
void
|
||||
BluetoothDaemonInterface::OnConnectSuccess(int aIndex)
|
||||
|
@ -31,7 +31,7 @@ class BluetoothDaemonSocketInterface;
|
||||
|
||||
class BluetoothDaemonInterface final
|
||||
: public BluetoothInterface
|
||||
, public mozilla::ipc::BluetoothDaemonConnectionConsumer
|
||||
, public mozilla::ipc::DaemonSocketConsumer
|
||||
, public mozilla::ipc::ListenSocketConsumer
|
||||
{
|
||||
public:
|
||||
@ -143,7 +143,7 @@ protected:
|
||||
unsigned long aPostfixLength,
|
||||
nsACString& aAddress);
|
||||
|
||||
// Methods for |BluetoothDaemonConnectionConsumer| and |ListenSocketConsumer|
|
||||
// Methods for |DaemonSocketConsumer| and |ListenSocketConsumer|
|
||||
//
|
||||
|
||||
void OnConnectSuccess(int aIndex) override;
|
||||
|
@ -344,7 +344,7 @@ BluetoothDaemonConnectionIO::ShutdownOnIOThread()
|
||||
|
||||
BluetoothDaemonConnection::BluetoothDaemonConnection(
|
||||
BluetoothDaemonPDUConsumer* aPDUConsumer,
|
||||
BluetoothDaemonConnectionConsumer* aConsumer,
|
||||
DaemonSocketConsumer* aConsumer,
|
||||
int aIndex)
|
||||
: mIO(nullptr)
|
||||
, mPDUConsumer(aPDUConsumer)
|
||||
|
@ -17,7 +17,7 @@ class MessageLoop;
|
||||
namespace mozilla {
|
||||
namespace ipc {
|
||||
|
||||
class BluetoothDaemonConnectionConsumer;
|
||||
class DaemonSocketConsumer;
|
||||
class BluetoothDaemonConnectionIO;
|
||||
class BluetoothDaemonPDUConsumer;
|
||||
|
||||
@ -118,7 +118,7 @@ class BluetoothDaemonConnection : public ConnectionOrientedSocket
|
||||
{
|
||||
public:
|
||||
BluetoothDaemonConnection(BluetoothDaemonPDUConsumer* aPDUConsumer,
|
||||
BluetoothDaemonConnectionConsumer* aConsumer,
|
||||
DaemonSocketConsumer* aConsumer,
|
||||
int aIndex);
|
||||
virtual ~BluetoothDaemonConnection();
|
||||
|
||||
@ -146,7 +146,7 @@ public:
|
||||
private:
|
||||
BluetoothDaemonConnectionIO* mIO;
|
||||
BluetoothDaemonPDUConsumer* mPDUConsumer;
|
||||
BluetoothDaemonConnectionConsumer* mConsumer;
|
||||
DaemonSocketConsumer* mConsumer;
|
||||
int mIndex;
|
||||
};
|
||||
|
||||
|
@ -10,13 +10,13 @@ namespace mozilla {
|
||||
namespace ipc {
|
||||
|
||||
//
|
||||
// BluetoothDaemonConnectionConsumer
|
||||
// DaemonSocketConsumer
|
||||
//
|
||||
|
||||
BluetoothDaemonConnectionConsumer::BluetoothDaemonConnectionConsumer()
|
||||
DaemonSocketConsumer::DaemonSocketConsumer()
|
||||
{ }
|
||||
|
||||
BluetoothDaemonConnectionConsumer::~BluetoothDaemonConnectionConsumer()
|
||||
DaemonSocketConsumer::~DaemonSocketConsumer()
|
||||
{ }
|
||||
|
||||
}
|
||||
|
@ -16,9 +16,9 @@ namespace mozilla {
|
||||
namespace ipc {
|
||||
|
||||
/*
|
||||
* |BluetoothDaemonConnectionConsumer| handles socket events.
|
||||
* |DaemonSocketConsumer| handles socket events.
|
||||
*/
|
||||
class BluetoothDaemonConnectionConsumer
|
||||
class DaemonSocketConsumer
|
||||
{
|
||||
public:
|
||||
/**
|
||||
@ -43,8 +43,8 @@ public:
|
||||
virtual void OnDisconnect(int aIndex) = 0;
|
||||
|
||||
protected:
|
||||
BluetoothDaemonConnectionConsumer();
|
||||
virtual ~BluetoothDaemonConnectionConsumer();
|
||||
DaemonSocketConsumer();
|
||||
virtual ~DaemonSocketConsumer();
|
||||
};
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user