mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1109592 - Cleanup unused variables and fields from NFC's IPC code. r=allstars.chh
This commit is contained in:
parent
2b228f8626
commit
d305be8964
@ -28,12 +28,6 @@ using namespace mozilla::ipc;
|
||||
|
||||
namespace {
|
||||
|
||||
static const char NFC_SOCKET_NAME[] = "/dev/socket/nfcd";
|
||||
|
||||
// Network port to connect to for adb forwarded sockets when doing
|
||||
// desktop development.
|
||||
static const uint32_t NFC_TEST_PORT = 6400;
|
||||
|
||||
class SendNfcSocketDataTask MOZ_FINAL : public nsRunnable
|
||||
{
|
||||
public:
|
||||
@ -172,17 +166,13 @@ NfcListenSocket::OnDisconnect()
|
||||
|
||||
NfcConsumer::NfcConsumer(NfcSocketListener* aListener)
|
||||
: mListener(aListener)
|
||||
, mShutdown(false)
|
||||
{
|
||||
mAddress = NFC_SOCKET_NAME;
|
||||
}
|
||||
{ }
|
||||
|
||||
void
|
||||
NfcConsumer::Shutdown()
|
||||
{
|
||||
MOZ_ASSERT(NS_IsMainThread());
|
||||
|
||||
mShutdown = true;
|
||||
Close();
|
||||
}
|
||||
|
||||
|
@ -81,8 +81,6 @@ private:
|
||||
|
||||
private:
|
||||
NfcSocketListener* mListener;
|
||||
nsCString mAddress;
|
||||
bool mShutdown;
|
||||
};
|
||||
|
||||
} // namespace ipc
|
||||
|
Loading…
Reference in New Issue
Block a user