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

Unified Diff: net/disk_cache/simple/simple_version_upgrade.h

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/simple/simple_util_unittest.cc ('k') | net/disk_cache/simple/simple_version_upgrade.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/disk_cache/simple/simple_version_upgrade.h
diff --git a/net/disk_cache/simple/simple_version_upgrade.h b/net/disk_cache/simple/simple_version_upgrade.h
index 352379b997b468e23fe01788f4e5892c8d97561b..f8fa119f0e407df8fed174c0f65a83badc340175 100644
--- a/net/disk_cache/simple/simple_version_upgrade.h
+++ b/net/disk_cache/simple/simple_version_upgrade.h
@@ -9,7 +9,8 @@
// Backend on disk. Assumes no backend operations are running simultaneously.
// Hence must be run at cache initialization step.
-#include "base/basictypes.h"
+#include <stdint.h>
+
#include "net/base/net_export.h"
namespace base {
@@ -33,13 +34,13 @@ struct NET_EXPORT_PRIVATE FakeIndexData {
FakeIndexData();
// Must be equal to simplecache_v4::kSimpleInitialMagicNumber.
- uint64 initial_magic_number;
+ uint64_t initial_magic_number;
// Must be equal kSimpleVersion when the cache backend is instantiated.
- uint32 version;
+ uint32_t version;
- uint32 unused_must_be_zero1;
- uint32 unused_must_be_zero2;
+ uint32_t unused_must_be_zero1;
+ uint32_t unused_must_be_zero2;
};
// Exposed for testing.
« no previous file with comments | « net/disk_cache/simple/simple_util_unittest.cc ('k') | net/disk_cache/simple/simple_version_upgrade.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698