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

Unified Diff: content/child/geofencing/geofencing_dispatcher.cc

Issue 1544273002: Switch to standard integer types in content/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/child/geofencing/geofencing_dispatcher.cc
diff --git a/content/child/geofencing/geofencing_dispatcher.cc b/content/child/geofencing/geofencing_dispatcher.cc
index ae2f9e2c691be5d3132d9790fa1ba65f45876016..fcc746cbe507b2f7ceb7b7cffc64f9c58aa3fb29 100644
--- a/content/child/geofencing/geofencing_dispatcher.cc
+++ b/content/child/geofencing/geofencing_dispatcher.cc
@@ -4,6 +4,9 @@
#include "content/child/geofencing/geofencing_dispatcher.h"
+#include <stddef.h>
+#include <stdint.h>
+
#include "base/lazy_instance.h"
#include "base/memory/scoped_ptr.h"
#include "base/message_loop/message_loop.h"
@@ -69,7 +72,7 @@ void GeofencingDispatcher::RegisterRegion(
int request_id = region_registration_requests_.Add(callbacks);
// TODO(mek): Immediately reject requests lacking a service worker
// registration, without bouncing through browser process.
- int64 serviceworker_registration_id = kInvalidServiceWorkerRegistrationId;
+ int64_t serviceworker_registration_id = kInvalidServiceWorkerRegistrationId;
if (service_worker_registration) {
serviceworker_registration_id =
static_cast<WebServiceWorkerRegistrationImpl*>(
@@ -90,7 +93,7 @@ void GeofencingDispatcher::UnregisterRegion(
int request_id = region_unregistration_requests_.Add(callbacks);
// TODO(mek): Immediately reject requests lacking a service worker
// registration, without bouncing through browser process.
- int64 serviceworker_registration_id = kInvalidServiceWorkerRegistrationId;
+ int64_t serviceworker_registration_id = kInvalidServiceWorkerRegistrationId;
if (service_worker_registration) {
serviceworker_registration_id =
static_cast<WebServiceWorkerRegistrationImpl*>(
@@ -109,7 +112,7 @@ void GeofencingDispatcher::GetRegisteredRegions(
int request_id = get_registered_regions_requests_.Add(callbacks);
// TODO(mek): Immediately reject requests lacking a service worker
// registration, without bouncing through browser process.
- int64 serviceworker_registration_id = kInvalidServiceWorkerRegistrationId;
+ int64_t serviceworker_registration_id = kInvalidServiceWorkerRegistrationId;
if (service_worker_registration) {
serviceworker_registration_id =
static_cast<WebServiceWorkerRegistrationImpl*>(
« no previous file with comments | « content/child/geofencing/geofencing_dispatcher.h ('k') | content/child/geofencing/geofencing_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698