Chromium Code Reviews| Index: courgette/third_party/bsdiff/bsdiff.h |
| diff --git a/courgette/third_party/bsdiff/bsdiff.h b/courgette/third_party/bsdiff/bsdiff.h |
| index a5da4ec9dd130d267868af0d546f1ed5426f73ca..4914053e80d28fa9c7d03f929a5cbd5971bd66c6 100644 |
| --- a/courgette/third_party/bsdiff/bsdiff.h |
| +++ b/courgette/third_party/bsdiff/bsdiff.h |
| @@ -44,6 +44,7 @@ |
| #include <stdint.h> |
| +#include "base/files/file.h" |
| #include "base/files/file_util.h" |
| namespace courgette { |
| @@ -81,6 +82,11 @@ BSDiffStatus ApplyBinaryPatch(const base::FilePath& old_stream, |
| const base::FilePath& patch_stream, |
| const base::FilePath& new_stream); |
| +// As above, but simply takes base::Files. |
| +BSDiffStatus ApplyBinaryPatch(base::File old_stream, |
|
huangs
2016/12/06 19:40:07
Order not changed?
waffles
2016/12/06 19:46:22
Sorry, I really thought I did that...
Done now.
|
| + base::File patch_stream, |
| + base::File new_stream); |
| + |
| // The following declarations are common to the patch-creation and |
| // patch-application code. |