Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(628)

Unified Diff: content/browser/geofencing/mock_geofencing_service.h

Issue 1549113002: Switch to standard integer types in content/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_;
« no previous file with comments | « content/browser/geofencing/geofencing_service_unittest.cc ('k') | content/browser/geofencing/mock_geofencing_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698