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

Unified Diff: content/child/background_sync/background_sync_provider.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
« no previous file with comments | « content/child/background_sync/background_sync_provider.h ('k') | content/child/blink_platform_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/background_sync/background_sync_provider.cc
diff --git a/content/child/background_sync/background_sync_provider.cc b/content/child/background_sync/background_sync_provider.cc
index a5d60391f8737c8f07af4b079a63198d490df228..a0a0e6b7e5732c650bcb7519c40c8149061f8a4d 100644
--- a/content/child/background_sync/background_sync_provider.cc
+++ b/content/child/background_sync/background_sync_provider.cc
@@ -4,6 +4,8 @@
#include "content/child/background_sync/background_sync_provider.h"
+#include <stddef.h>
+
#include "base/bind.h"
#include "base/lazy_instance.h"
#include "base/memory/scoped_ptr.h"
@@ -25,7 +27,7 @@ namespace {
// Returns the id of the given |service_worker_registration|, which
// is only available on the implementation of the interface.
-int64 GetServiceWorkerRegistrationId(
+int64_t GetServiceWorkerRegistrationId(
blink::WebServiceWorkerRegistration* service_worker_registration) {
return static_cast<WebServiceWorkerRegistrationImpl*>(
service_worker_registration)->registration_id();
@@ -89,7 +91,7 @@ void BackgroundSyncProvider::registerBackgroundSync(
DCHECK(options);
DCHECK(service_worker_registration);
DCHECK(callbacks);
- int64 service_worker_registration_id =
+ int64_t service_worker_registration_id =
GetServiceWorkerRegistrationId(service_worker_registration);
scoped_ptr<const blink::WebSyncRegistration> optionsPtr(options);
scoped_ptr<blink::WebSyncRegistrationCallbacks> callbacksPtr(callbacks);
@@ -109,7 +111,7 @@ void BackgroundSyncProvider::unregisterBackgroundSync(
blink::WebSyncUnregistrationCallbacks* callbacks) {
DCHECK(service_worker_registration);
DCHECK(callbacks);
- int64 service_worker_registration_id =
+ int64_t service_worker_registration_id =
GetServiceWorkerRegistrationId(service_worker_registration);
scoped_ptr<blink::WebSyncUnregistrationCallbacks> callbacksPtr(callbacks);
@@ -128,7 +130,7 @@ void BackgroundSyncProvider::getRegistration(
blink::WebSyncRegistrationCallbacks* callbacks) {
DCHECK(service_worker_registration);
DCHECK(callbacks);
- int64 service_worker_registration_id =
+ int64_t service_worker_registration_id =
GetServiceWorkerRegistrationId(service_worker_registration);
scoped_ptr<blink::WebSyncRegistrationCallbacks> callbacksPtr(callbacks);
@@ -147,7 +149,7 @@ void BackgroundSyncProvider::getRegistrations(
blink::WebSyncGetRegistrationsCallbacks* callbacks) {
DCHECK(service_worker_registration);
DCHECK(callbacks);
- int64 service_worker_registration_id =
+ int64_t service_worker_registration_id =
GetServiceWorkerRegistrationId(service_worker_registration);
scoped_ptr<blink::WebSyncGetRegistrationsCallbacks> callbacksPtr(callbacks);
@@ -166,7 +168,7 @@ void BackgroundSyncProvider::getPermissionStatus(
blink::WebSyncGetPermissionStatusCallbacks* callbacks) {
DCHECK(service_worker_registration);
DCHECK(callbacks);
- int64 service_worker_registration_id =
+ int64_t service_worker_registration_id =
GetServiceWorkerRegistrationId(service_worker_registration);
scoped_ptr<blink::WebSyncGetPermissionStatusCallbacks> callbacksPtr(
callbacks);
« no previous file with comments | « content/child/background_sync/background_sync_provider.h ('k') | content/child/blink_platform_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698