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

Unified Diff: content/browser/cache_storage/cache_storage_cache.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/cache_storage/cache_storage_cache.cc
diff --git a/content/browser/cache_storage/cache_storage_cache.cc b/content/browser/cache_storage/cache_storage_cache.cc
index 687f6908c0480fdf6cd2eb2234c833637e6a178c..6233737869ccc1f8c16954a3a43185240213abcf 100644
--- a/content/browser/cache_storage/cache_storage_cache.cc
+++ b/content/browser/cache_storage/cache_storage_cache.cc
@@ -4,11 +4,14 @@
#include "content/browser/cache_storage/cache_storage_cache.h"
+#include <stddef.h>
+
#include <string>
#include "base/barrier_closure.h"
#include "base/files/file_path.h"
#include "base/guid.h"
+#include "base/macros.h"
#include "base/metrics/histogram_macros.h"
#include "base/strings/string_split.h"
#include "base/strings/string_util.h"
@@ -423,7 +426,7 @@ void CacheStorageCache::Close(const base::Closure& callback) {
pending_callback));
}
-int64 CacheStorageCache::MemoryBackedSize() const {
+int64_t CacheStorageCache::MemoryBackedSize() const {
if (backend_state_ != BACKEND_OPEN || !memory_only_)
return 0;
@@ -431,7 +434,7 @@ int64 CacheStorageCache::MemoryBackedSize() const {
backend_->CreateIterator();
disk_cache::Entry* entry = nullptr;
- int64 sum = 0;
+ int64_t sum = 0;
std::vector<disk_cache::Entry*> entries;
int rv = net::OK;
« no previous file with comments | « content/browser/cache_storage/cache_storage_cache.h ('k') | content/browser/cache_storage/cache_storage_cache_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698