position_cache_test_util.h 760 B

12345678910111213141516171819202122232425
  1. // Copyright 2018 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifndef SERVICES_DEVICE_GEOLOCATION_POSITION_CACHE_TEST_UTIL_H_
  5. #define SERVICES_DEVICE_GEOLOCATION_POSITION_CACHE_TEST_UTIL_H_
  6. #include "services/device/geolocation/wifi_data.h"
  7. #include "services/device/public/mojom/geoposition.mojom.h"
  8. namespace device {
  9. namespace testing {
  10. WifiData CreateUniqueWifiData(int number_of_access_points);
  11. inline WifiData CreateDefaultUniqueWifiData() {
  12. return CreateUniqueWifiData(10);
  13. }
  14. mojom::Geoposition CreateGeoposition(int offset);
  15. } // namespace testing
  16. } // namespace device
  17. #endif // SERVICES_DEVICE_GEOLOCATION_POSITION_CACHE_TEST_UTIL_H_