diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-05-14 10:50:01 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-05-14 10:50:01 +0200 |
commit | e9dd029f5d00590e1a53e63b0ab805110a10b54c (patch) | |
tree | 1126ca5dda925a62be3dc12c99c90e953d08afcf /dom/network/TCPSocket.h | |
parent | 9d6a7ae25d7f5da855a8f8df884de483b4e2a538 (diff) | |
parent | 36b8fd734f590eb726ca2e50f8d1ff9cc968b8e1 (diff) | |
download | UXP-e9dd029f5d00590e1a53e63b0ab805110a10b54c.tar UXP-e9dd029f5d00590e1a53e63b0ab805110a10b54c.tar.gz UXP-e9dd029f5d00590e1a53e63b0ab805110a10b54c.tar.lz UXP-e9dd029f5d00590e1a53e63b0ab805110a10b54c.tar.xz UXP-e9dd029f5d00590e1a53e63b0ab805110a10b54c.zip |
Merge branch 'master' into Basilisk-release
Diffstat (limited to 'dom/network/TCPSocket.h')
-rw-r--r-- | dom/network/TCPSocket.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/dom/network/TCPSocket.h b/dom/network/TCPSocket.h index e98c03ca5..4ad425b9e 100644 --- a/dom/network/TCPSocket.h +++ b/dom/network/TCPSocket.h @@ -179,10 +179,6 @@ private: void ActivateTLS(); // Dispatch an error event if necessary, then dispatch a "close" event. nsresult MaybeReportErrorAndCloseIfOpen(nsresult status); -#ifdef MOZ_WIDGET_GONK - // Store and reset any saved network stats for this socket. - void SaveNetworkStats(bool aEnforce); -#endif // Helper for FireDataStringEvent/FireDataArrayEvent. nsresult FireDataEvent(JSContext* aCx, const nsAString& aType, @@ -246,19 +242,6 @@ private: nsTArray<nsCOMPtr<nsIInputStream>> mPendingDataWhileCopierActive; bool mObserversActive; - -#ifdef MOZ_WIDGET_GONK - // Number of bytes sent. - uint32_t mTxBytes; - // Number of bytes received. - uint32_t mRxBytes; - // The app that owns this socket. - uint32_t mAppId; - // Was this socket created inside of an isolated browser frame? - bool mInIsolatedMozBrowser; - // The name of the active network used by this socket. - nsCOMPtr<nsINetworkInfo> mActiveNetworkInfo; -#endif }; } // namespace dom |