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

Unified Diff: net/disk_cache/cache_creator.cc

Issue 1535363003: Switch to standard integer types in net/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: stddef 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 | « net/disk_cache/blockfile/trace.h ('k') | net/disk_cache/disk_cache.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/disk_cache/cache_creator.cc
diff --git a/net/disk_cache/cache_creator.cc b/net/disk_cache/cache_creator.cc
index 25bde280f4b8002aed8bdcdea09f95d96a15f55a..243acc4679d0c268a6a3ccffa6f7c4563d44b886 100644
--- a/net/disk_cache/cache_creator.cc
+++ b/net/disk_cache/cache_creator.cc
@@ -3,6 +3,7 @@
// found in the LICENSE file.
#include "base/files/file_path.h"
+#include "base/macros.h"
#include "base/metrics/field_trial.h"
#include "base/single_thread_task_runner.h"
#include "base/strings/stringprintf.h"
@@ -26,7 +27,7 @@ class CacheCreator {
int max_bytes,
net::CacheType type,
net::BackendType backend_type,
- uint32 flags,
+ uint32_t flags,
const scoped_refptr<base::SingleThreadTaskRunner>& thread,
net::NetLog* net_log,
scoped_ptr<disk_cache::Backend>* backend,
@@ -48,7 +49,7 @@ class CacheCreator {
int max_bytes_;
net::CacheType type_;
net::BackendType backend_type_;
- uint32 flags_;
+ uint32_t flags_;
scoped_refptr<base::SingleThreadTaskRunner> thread_;
scoped_ptr<disk_cache::Backend>* backend_;
net::CompletionCallback callback_;
@@ -64,7 +65,7 @@ CacheCreator::CacheCreator(
int max_bytes,
net::CacheType type,
net::BackendType backend_type,
- uint32 flags,
+ uint32_t flags,
const scoped_refptr<base::SingleThreadTaskRunner>& thread,
net::NetLog* net_log,
scoped_ptr<disk_cache::Backend>* backend,
@@ -79,8 +80,7 @@ CacheCreator::CacheCreator(
thread_(thread),
backend_(backend),
callback_(callback),
- net_log_(net_log) {
-}
+ net_log_(net_log) {}
CacheCreator::~CacheCreator() {
}
« no previous file with comments | « net/disk_cache/blockfile/trace.h ('k') | net/disk_cache/disk_cache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698