Roll src/third_party/WebKit 8139f33:52503da (svn 201975:201976)
[chromium-blink-merge.git] / courgette / crc.h
blobc3662bb1ceefe6884833192ecbeb67b5b102fc0e
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 #ifndef COURGETTE_CRC_H_
6 #define COURGETTE_CRC_H_
8 #include "base/basictypes.h"
10 namespace courgette {
12 // Calculates Crc of the given buffer by calling CRC method in LZMA SDK
14 uint32 CalculateCrc(const uint8* buffer, size_t size);
16 } // namespace courgette
17 #endif // COURGETTE_CRC_H_