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

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

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.cc
diff --git a/content/browser/geofencing/mock_geofencing_service.cc b/content/browser/geofencing/mock_geofencing_service.cc
index c3a1f27a3d343a7b0dc07776344438dfebc77f8d..edf5a9232c451bdd40472972e598c6a0dde5af93 100644
--- a/content/browser/geofencing/mock_geofencing_service.cc
+++ b/content/browser/geofencing/mock_geofencing_service.cc
@@ -21,7 +21,7 @@ namespace content {
namespace {
void RegisterRegionResult(GeofencingRegistrationDelegate* delegate,
- int64 geofencing_registration_id,
+ int64_t geofencing_registration_id,
GeofencingStatus status) {
base::ThreadTaskRunnerHandle::Get()->PostTask(
FROM_HERE,
@@ -99,10 +99,10 @@ bool MockGeofencingService::IsServiceAvailable() {
return available_;
}
-int64 MockGeofencingService::RegisterRegion(
+int64_t MockGeofencingService::RegisterRegion(
const blink::WebCircularGeofencingRegion& region,
GeofencingRegistrationDelegate* delegate) {
- int64 id = next_id_++;
+ int64_t id = next_id_++;
Registration& registration = registrations_[id];
registration.region = region;
registration.delegate = delegate;
@@ -118,7 +118,8 @@ int64 MockGeofencingService::RegisterRegion(
return id;
}
-void MockGeofencingService::UnregisterRegion(int64 geofencing_registration_id) {
+void MockGeofencingService::UnregisterRegion(
+ int64_t geofencing_registration_id) {
registrations_.erase(geofencing_registration_id);
}
« no previous file with comments | « content/browser/geofencing/mock_geofencing_service.h ('k') | content/browser/geolocation/empty_wifi_data_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698