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

Unified Diff: file_hasher.h

Issue 6811030: verity: remove the depth parameter from bht_create (Closed) Base URL: http://git.chromium.org/git/dm-verity.git@master
Patch Set: Fix per review. Created 9 years, 8 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
« dm-bht_unittest.cc ('K') | « dm-bht_unittest.cc ('k') | file_hasher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: file_hasher.h
diff --git a/file_hasher.h b/file_hasher.h
index ff1b03cff6b6fd6ddafdbce19577efe8535f45a3..2ff920b6d0a776d17132a77c8740c300c305d5a9 100644
--- a/file_hasher.h
+++ b/file_hasher.h
@@ -28,7 +28,6 @@ class FileHasher {
virtual ~FileHasher() { dm_bht_destroy(&tree_); }
virtual bool Initialize(simple_file::File *source,
simple_file::File *destination,
- unsigned int depth,
unsigned int blocks,
const char *alg);
virtual bool Hash();
@@ -44,7 +43,6 @@ class FileHasher {
private:
simple_file::File *source_;
simple_file::File *destination_;
- unsigned int depth_;
unsigned int block_limit_;
const char *alg_;
struct dm_bht tree_;
« dm-bht_unittest.cc ('K') | « dm-bht_unittest.cc ('k') | file_hasher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698