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

Side by Side Diff: courgette/third_party/bsdiff.h

Issue 563173002: Cleanup: Use base/files/file_util.h instead of base/file_util.h in [c-n]*/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 unified diff | Download patch
« no previous file with comments | « courgette/memory_allocator.cc ('k') | crypto/nss_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /*- 1 /*-
2 * Copyright 2003,2004 Colin Percival 2 * Copyright 2003,2004 Colin Percival
3 * All rights reserved 3 * All rights reserved
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted providing that the following conditions 6 * modification, are permitted providing that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 20 matching lines...) Expand all
31 * Changed status to an enum, removed unused status codes. 31 * Changed status to an enum, removed unused status codes.
32 * --Stephen Adams <sra@chromium.org> 32 * --Stephen Adams <sra@chromium.org>
33 * 2013-04-10 - Added wrapper to apply a patch directly to files. 33 * 2013-04-10 - Added wrapper to apply a patch directly to files.
34 * --Joshua Pawlicki <waffles@chromium.org> 34 * --Joshua Pawlicki <waffles@chromium.org>
35 */ 35 */
36 36
37 #ifndef COURGETTE_BSDIFF_H_ 37 #ifndef COURGETTE_BSDIFF_H_
38 #define COURGETTE_BSDIFF_H_ 38 #define COURGETTE_BSDIFF_H_
39 39
40 #include "base/basictypes.h" 40 #include "base/basictypes.h"
41 #include "base/file_util.h" 41 #include "base/files/file_util.h"
42 42
43 namespace courgette { 43 namespace courgette {
44 44
45 enum BSDiffStatus { 45 enum BSDiffStatus {
46 OK = 0, 46 OK = 0,
47 MEM_ERROR = 1, 47 MEM_ERROR = 1,
48 CRC_ERROR = 2, 48 CRC_ERROR = 2,
49 READ_ERROR = 3, 49 READ_ERROR = 3,
50 UNEXPECTED_ERROR = 4, 50 UNEXPECTED_ERROR = 4,
51 WRITE_ERROR = 5 51 WRITE_ERROR = 5
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 uint32 scrc32; // CRC32 of the file to be patched. 83 uint32 scrc32; // CRC32 of the file to be patched.
84 uint32 dlen; // Length of the result file. 84 uint32 dlen; // Length of the result file.
85 } MBSPatchHeader; 85 } MBSPatchHeader;
86 86
87 // This is the value for the tag field. Must match length exactly, not counting 87 // This is the value for the tag field. Must match length exactly, not counting
88 // null at end of string. 88 // null at end of string.
89 #define MBS_PATCH_HEADER_TAG "GBSDIF42" 89 #define MBS_PATCH_HEADER_TAG "GBSDIF42"
90 90
91 } // namespace 91 } // namespace
92 #endif // COURGETTE_BSDIFF_H_ 92 #endif // COURGETTE_BSDIFF_H_
OLDNEW
« no previous file with comments | « courgette/memory_allocator.cc ('k') | crypto/nss_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698