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

Unified Diff: omaha_hash_calculator.h

Issue 4042004: AU: When applying delta locally, get source checksums (Closed) Base URL: http://git.chromium.org/git/update_engine.git
Patch Set: Created 10 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: omaha_hash_calculator.h
diff --git a/omaha_hash_calculator.h b/omaha_hash_calculator.h
index dc9fe4ef02099cf16a9b3282b0a886d37d4237c7..762b8d44559781aaffb1c1e19c4bfcdee177305c 100644
--- a/omaha_hash_calculator.h
+++ b/omaha_hash_calculator.h
@@ -70,6 +70,8 @@ class OmahaHashCalculator {
static std::string OmahaHashOfString(const std::string& str);
static std::string OmahaHashOfData(const std::vector<char>& data);
+ static bool Base64Encode(const void* data, size_t size, std::string* out);
+
private:
// If non-empty, the final base64 encoded hash and the raw hash. Will only be
// set to non-empty when Finalize is called.

Powered by Google App Engine
This is Rietveld 408576698