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

Unified Diff: content/browser/appcache/appcache.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
« no previous file with comments | « content/browser/appcache/appcache.h ('k') | content/browser/appcache/appcache_backend_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/appcache/appcache.cc
diff --git a/content/browser/appcache/appcache.cc b/content/browser/appcache/appcache.cc
index aa0b224bd7e8b060d402aa20b9465ee36b815275..f97d9cce9164b6a5529d3116317ee7c683baf93f 100644
--- a/content/browser/appcache/appcache.cc
+++ b/content/browser/appcache/appcache.cc
@@ -4,6 +4,8 @@
#include "content/browser/appcache/appcache.h"
+#include <stddef.h>
+
#include <algorithm>
#include "base/logging.h"
@@ -16,7 +18,7 @@
namespace content {
-AppCache::AppCache(AppCacheStorage* storage, int64 cache_id)
+AppCache::AppCache(AppCacheStorage* storage, int64_t cache_id)
: cache_id_(cache_id),
owning_group_(NULL),
online_whitelist_all_(false),
@@ -73,7 +75,8 @@ AppCacheEntry* AppCache::GetEntry(const GURL& url) {
}
const AppCacheEntry* AppCache::GetEntryAndUrlWithResponseId(
- int64 response_id, GURL* optional_url_out) {
+ int64_t response_id,
+ GURL* optional_url_out) {
for (EntryMap::const_iterator iter = entries_.begin();
iter != entries_.end(); ++iter) {
if (iter->second.response_id() == response_id) {
@@ -85,7 +88,7 @@ const AppCacheEntry* AppCache::GetEntryAndUrlWithResponseId(
return NULL;
}
-AppCacheExecutableHandler* AppCache::GetExecutableHandler(int64 response_id) {
+AppCacheExecutableHandler* AppCache::GetExecutableHandler(int64_t response_id) {
HandlerMap::const_iterator found = executable_handlers_.find(response_id);
if (found != executable_handlers_.end())
return found->second;
@@ -93,7 +96,8 @@ AppCacheExecutableHandler* AppCache::GetExecutableHandler(int64 response_id) {
}
AppCacheExecutableHandler* AppCache::GetOrCreateExecutableHandler(
- int64 response_id, net::IOBuffer* handler_source) {
+ int64_t response_id,
+ net::IOBuffer* handler_source) {
AppCacheExecutableHandler* handler = GetExecutableHandler(response_id);
if (handler)
return handler;
« no previous file with comments | « content/browser/appcache/appcache.h ('k') | content/browser/appcache/appcache_backend_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698