| Index: omaha_hash_calculator.h
|
| diff --git a/omaha_hash_calculator.h b/omaha_hash_calculator.h
|
| index 762b8d44559781aaffb1c1e19c4bfcdee177305c..9735ac864229b09ac2613cd3585878cf45c209d9 100644
|
| --- a/omaha_hash_calculator.h
|
| +++ b/omaha_hash_calculator.h
|
| @@ -60,6 +60,9 @@ class OmahaHashCalculator {
|
| // success, and false otherwise.
|
| bool SetContext(const std::string& context);
|
|
|
| + static bool RawHashOfBytes(const char* data,
|
| + size_t length,
|
| + std::vector<char>* out_hash);
|
| static bool RawHashOfData(const std::vector<char>& data,
|
| std::vector<char>* out_hash);
|
| static off_t RawHashOfFile(const std::string& name, off_t length,
|
|
|