diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-05-13 00:08:52 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-05-13 00:08:52 +0200 |
commit | e16bcd08aae85a7d9c2de5a4b1c733280cb81112 (patch) | |
tree | 220026724ceb8fbcf18bf627fde022c2d8df0e91 /netwerk/wifi/nsWifiMonitor.h | |
parent | 6571d2ceb42930dab01677ef0e95e732d5076fb8 (diff) | |
download | UXP-e16bcd08aae85a7d9c2de5a4b1c733280cb81112.tar UXP-e16bcd08aae85a7d9c2de5a4b1c733280cb81112.tar.gz UXP-e16bcd08aae85a7d9c2de5a4b1c733280cb81112.tar.lz UXP-e16bcd08aae85a7d9c2de5a4b1c733280cb81112.tar.xz UXP-e16bcd08aae85a7d9c2de5a4b1c733280cb81112.zip |
Remove MOZ_WIDGET_GONK [2/2]
Tag #288
Diffstat (limited to 'netwerk/wifi/nsWifiMonitor.h')
-rw-r--r-- | netwerk/wifi/nsWifiMonitor.h | 30 |
1 files changed, 1 insertions, 29 deletions
diff --git a/netwerk/wifi/nsWifiMonitor.h b/netwerk/wifi/nsWifiMonitor.h index 665798efc..c44f6804b 100644 --- a/netwerk/wifi/nsWifiMonitor.h +++ b/netwerk/wifi/nsWifiMonitor.h @@ -48,7 +48,6 @@ class nsWifiListener bool mHasSentData; }; -#ifndef MOZ_WIDGET_GONK class nsWifiMonitor final : nsIRunnable, nsIWifiMonitor, nsIObserver { public: @@ -79,32 +78,5 @@ class nsWifiMonitor final : nsIRunnable, nsIWifiMonitor, nsIObserver nsAutoPtr<WinWifiScanner> mWinWifiScanner; #endif }; -#else -#include "nsIWifi.h" -class nsWifiMonitor final : nsIWifiMonitor, nsIWifiScanResultsReady, nsIObserver -{ - public: - NS_DECL_ISUPPORTS - NS_DECL_NSIWIFIMONITOR - NS_DECL_NSIOBSERVER - NS_DECL_NSIWIFISCANRESULTSREADY - nsWifiMonitor(); - - private: - ~nsWifiMonitor(); - - void ClearTimer() { - if (mTimer) { - mTimer->Cancel(); - mTimer = nullptr; - } - } - void StartScan(); - nsCOMArray<nsWifiAccessPoint> mLastAccessPoints; - nsTArray<nsWifiListener> mListeners; - nsCOMPtr<nsITimer> mTimer; -}; -#endif - -#endif +#endif // __nsWifiMonitor__ |