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

Unified Diff: courgette/third_party/bsdiff/bsdiff.h

Issue 1961963003: Move //courgette/third_party to subfolder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes according to comments Created 4 years, 7 months 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/third_party/bsdiff/README.chromium ('k') | courgette/third_party/bsdiff/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/bsdiff.h
diff --git a/courgette/third_party/bsdiff.h b/courgette/third_party/bsdiff/bsdiff.h
similarity index 90%
rename from courgette/third_party/bsdiff.h
rename to courgette/third_party/bsdiff/bsdiff.h
index 1a7e025de883505f47f78587f43b810b60229f5b..707d0814d25b8eb7859b00ea656db26f3b7b8230 100644
--- a/courgette/third_party/bsdiff.h
+++ b/courgette/third_party/bsdiff/bsdiff.h
@@ -34,8 +34,8 @@
* --Joshua Pawlicki <waffles@chromium.org>
*/
-#ifndef COURGETTE_BSDIFF_H_
-#define COURGETTE_BSDIFF_H_
+#ifndef COURGETTE_THIRD_PARTY_BSDIFF_BSDIFF_H_
+#define COURGETTE_THIRD_PARTY_BSDIFF_BSDIFF_H_
#include <stdint.h>
@@ -79,10 +79,10 @@ 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_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.
+ char tag[8]; // Contains MBS_PATCH_HEADER_TAG.
+ 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
@@ -90,4 +90,4 @@ typedef struct MBSPatchHeader_ {
#define MBS_PATCH_HEADER_TAG "GBSDIF42"
} // namespace
-#endif // COURGETTE_BSDIFF_H_
+#endif // COURGETTE_THIRD_PARTY_BSDIFF_BSDIFF_H_
« no previous file with comments | « courgette/third_party/bsdiff/README.chromium ('k') | courgette/third_party/bsdiff/bsdiff_apply.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698