Update V8 to version 4.7.56.
[chromium-blink-merge.git] / courgette / simple_delta.h
blobd35333a159e411358ad2bd132e5a7887d50c0416
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 // Byte level differential compression algorithm used by Courgette.
7 #ifndef COURGETTE_SIMPLE_DELTA_H_
8 #define COURGETTE_SIMPLE_DELTA_H_
10 #include "courgette/courgette.h"
11 #include "courgette/streams.h"
13 namespace courgette {
15 Status ApplySimpleDelta(SourceStream* old, SourceStream* delta,
16 SinkStream* target);
18 Status GenerateSimpleDelta(SourceStream* old, SourceStream* target,
19 SinkStream* delta);
21 } // namespace courgette
23 #endif // COURGETTE_SIMPLE_DELTA_H_