| Index: content/browser/geofencing/mock_geofencing_service.h
|
| diff --git a/content/browser/geofencing/mock_geofencing_service.h b/content/browser/geofencing/mock_geofencing_service.h
|
| index 6ba9f0dd995d4e85884c27e15bda4be2a02ac5cc..e69b07bebdbbd364b702931b50336bf23ec508c9 100644
|
| --- a/content/browser/geofencing/mock_geofencing_service.h
|
| +++ b/content/browser/geofencing/mock_geofencing_service.h
|
| @@ -5,6 +5,8 @@
|
| #ifndef CONTENT_BROWSER_GEOFENCING_MOCK_GEOFENCING_SERVICE_H_
|
| #define CONTENT_BROWSER_GEOFENCING_MOCK_GEOFENCING_SERVICE_H_
|
|
|
| +#include <stdint.h>
|
| +
|
| #include <map>
|
|
|
| #include "content/browser/geofencing/geofencing_service.h"
|
| @@ -27,16 +29,16 @@ class MockGeofencingService : public GeofencingService {
|
|
|
| // GeofencingService implementation.
|
| bool IsServiceAvailable() override;
|
| - int64 RegisterRegion(const blink::WebCircularGeofencingRegion& region,
|
| - GeofencingRegistrationDelegate* delegate) override;
|
| - void UnregisterRegion(int64 geofencing_registration_id) override;
|
| + int64_t RegisterRegion(const blink::WebCircularGeofencingRegion& region,
|
| + GeofencingRegistrationDelegate* delegate) override;
|
| + void UnregisterRegion(int64_t geofencing_registration_id) override;
|
|
|
| private:
|
| struct Registration;
|
|
|
| bool available_;
|
| - std::map<int64, Registration> registrations_;
|
| - int64 next_id_;
|
| + std::map<int64_t, Registration> registrations_;
|
| + int64_t next_id_;
|
| bool has_position_;
|
| double last_latitude_;
|
| double last_longitude_;
|
|
|