| 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_
|
|
|