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

Unified Diff: courgette/third_party/bsdiff.h

Issue 1543643002: Switch to standard integer types in courgette/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix 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 | « courgette/streams_unittest.cc ('k') | courgette/third_party/bsdiff_apply.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: courgette/third_party/bsdiff.h
diff --git a/courgette/third_party/bsdiff.h b/courgette/third_party/bsdiff.h
index 7c4888cb89de09ae44c67dbb21036b46b22f25c0..1a7e025de883505f47f78587f43b810b60229f5b 100644
--- a/courgette/third_party/bsdiff.h
+++ b/courgette/third_party/bsdiff.h
@@ -37,7 +37,8 @@
#ifndef COURGETTE_BSDIFF_H_
#define COURGETTE_BSDIFF_H_
-#include "base/basictypes.h"
+#include <stdint.h>
+
#include "base/files/file_util.h"
namespace courgette {
@@ -79,9 +80,9 @@ BSDiffStatus ApplyBinaryPatch(const base::FilePath& old_stream,
// The patch stream starts with a MBSPatchHeader.
typedef struct MBSPatchHeader_ {
char tag[8]; // Contains MBS_PATCH_HEADER_TAG
- uint32 slen; // Length of the file to be patched.
- uint32 scrc32; // CRC32 of the file to be patched.
- uint32 dlen; // Length of the result file.
+ uint32_t slen; // Length of the file to be patched.
+ uint32_t scrc32; // CRC32 of the file to be patched.
+ uint32_t dlen; // Length of the result file.
} MBSPatchHeader;
// This is the value for the tag field. Must match length exactly, not counting
« no previous file with comments | « courgette/streams_unittest.cc ('k') | courgette/third_party/bsdiff_apply.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698