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

Unified Diff: content/renderer/cache_storage/cache_storage_dispatcher.h

Issue 1547073003: Switch to standard integer types in content/renderer/. (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/renderer/cache_storage/cache_storage_dispatcher.h
diff --git a/content/renderer/cache_storage/cache_storage_dispatcher.h b/content/renderer/cache_storage/cache_storage_dispatcher.h
index f08712ce41700be51f76769a67ee6bfcc48780be..a43757d0f82aae56913aa563b90648ff81e36fe4 100644
--- a/content/renderer/cache_storage/cache_storage_dispatcher.h
+++ b/content/renderer/cache_storage/cache_storage_dispatcher.h
@@ -5,6 +5,8 @@
#ifndef CONTENT_RENDERER_CACHE_STORAGE_CACHE_STORAGE_DISPATCHER_H_
#define CONTENT_RENDERER_CACHE_STORAGE_CACHE_STORAGE_DISPATCHER_H_
+#include <stdint.h>
+
#include <vector>
#include "base/id_map.h"
@@ -162,7 +164,7 @@ class CacheStorageDispatcher : public WorkerThread::Observer {
typedef IDMap<blink::WebServiceWorkerCacheStorage::CacheStorageMatchCallbacks,
IDMapOwnPointer> StorageMatchCallbacksMap;
- typedef base::hash_map<int32, base::TimeTicks> TimeMap;
+ typedef base::hash_map<int32_t, base::TimeTicks> TimeMap;
typedef IDMap<blink::WebServiceWorkerCache::CacheMatchCallbacks,
IDMapOwnPointer> MatchCallbacksMap;
@@ -173,7 +175,7 @@ class CacheStorageDispatcher : public WorkerThread::Observer {
using BatchCallbacksMap =
IDMap<blink::WebServiceWorkerCache::CacheBatchCallbacks, IDMapOwnPointer>;
- static int32 CurrentWorkerId() { return WorkerThread::GetCurrentId(); }
+ static int32_t CurrentWorkerId() { return WorkerThread::GetCurrentId(); }
void PopulateWebResponseFromResponse(
const ServiceWorkerResponse& response,
« no previous file with comments | « content/renderer/browser_render_view_browsertest.cc ('k') | content/renderer/cache_storage/cache_storage_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698