mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1131653: Move OPP helper classes into BluetoothOppManager namespace, r=btian
This will resolve possible naming collisions between equally named classes in the Bluetooth namespace.
This commit is contained in:
parent
9b4161b45c
commit
e2a98bdb5a
@ -87,7 +87,7 @@ BluetoothOppManager::Observe(nsISupports* aSubject,
|
||||
return NS_ERROR_UNEXPECTED;
|
||||
}
|
||||
|
||||
class SendSocketDataTask : public nsRunnable
|
||||
class BluetoothOppManager::SendSocketDataTask : public nsRunnable
|
||||
{
|
||||
public:
|
||||
SendSocketDataTask(uint8_t* aStream, uint32_t aSize)
|
||||
@ -111,7 +111,7 @@ private:
|
||||
uint32_t mSize;
|
||||
};
|
||||
|
||||
class ReadFileTask : public nsRunnable
|
||||
class BluetoothOppManager::ReadFileTask : public nsRunnable
|
||||
{
|
||||
public:
|
||||
ReadFileTask(nsIInputStream* aInputStream,
|
||||
@ -156,7 +156,7 @@ private:
|
||||
uint32_t mAvailablePacketSize;
|
||||
};
|
||||
|
||||
class CloseSocketTask : public Task
|
||||
class BluetoothOppManager::CloseSocketTask : public Task
|
||||
{
|
||||
public:
|
||||
CloseSocketTask(BluetoothSocket* aSocket) : mSocket(aSocket)
|
||||
|
@ -74,6 +74,10 @@ public:
|
||||
virtual void OnSocketDisconnect(BluetoothSocket* aSocket) MOZ_OVERRIDE;
|
||||
|
||||
private:
|
||||
class CloseSocketTask;
|
||||
class ReadFileTask;
|
||||
class SendSocketDataTask;
|
||||
|
||||
BluetoothOppManager();
|
||||
bool Init();
|
||||
void HandleShutdown();
|
||||
|
Loading…
Reference in New Issue
Block a user