#ifndef SERVICES_DEVICE_GEOLOCATION_WIFI_DATA_H_
#define SERVICES_DEVICE_GEOLOCATION_WIFI_DATA_H_
#include <set>
#include <string>
#include "services/device/public/mojom/geolocation_internals.mojom.h"
namespace device {
struct AccessPointDataLess {
bool operator()(const mojom::AccessPointData& data1,
const mojom::AccessPointData& data2) const {
return data1.mac_address < data2.mac_address;
}
};
struct WifiData {
WifiData();
WifiData(const WifiData& other);
WifiData& operator=(const WifiData& other);
~WifiData();
bool DiffersSignificantly(const WifiData& other) const;
typedef std::set<mojom::AccessPointData, AccessPointDataLess>
AccessPointDataSet;
AccessPointDataSet access_point_data;
};
}
#endif