Bug 1171017: Rename |BluetoothDaemonConnectionConsumer| to |DaemonSocketConsumer|, r=shuang

This commit is contained in:
Thomas Zimmermann 2015-06-15 14:44:03 +02:00
parent 77b11c3702
commit 3d22763878
6 changed files with 14 additions and 14 deletions

View File

@ -2321,7 +2321,7 @@ BluetoothDaemonInterface::GetBluetoothGattInterface()
return mGattInterface;
}
// |BluetoothDaemonConnectionConsumer|, |ListenSocketConsumer|
// |DaemonSocketConsumer|, |ListenSocketConsumer|
void
BluetoothDaemonInterface::OnConnectSuccess(int aIndex)

View File

@ -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;

View File

@ -344,7 +344,7 @@ BluetoothDaemonConnectionIO::ShutdownOnIOThread()
BluetoothDaemonConnection::BluetoothDaemonConnection(
BluetoothDaemonPDUConsumer* aPDUConsumer,
BluetoothDaemonConnectionConsumer* aConsumer,
DaemonSocketConsumer* aConsumer,
int aIndex)
: mIO(nullptr)
, mPDUConsumer(aPDUConsumer)

View File

@ -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;
};

View File

@ -10,13 +10,13 @@ namespace mozilla {
namespace ipc {
//
// BluetoothDaemonConnectionConsumer
// DaemonSocketConsumer
//
BluetoothDaemonConnectionConsumer::BluetoothDaemonConnectionConsumer()
DaemonSocketConsumer::DaemonSocketConsumer()
{ }
BluetoothDaemonConnectionConsumer::~BluetoothDaemonConnectionConsumer()
DaemonSocketConsumer::~DaemonSocketConsumer()
{ }
}

View File

@ -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();
};
}