Description[Android] Refactor md5_check + add tests
This adds a function md5_check.CallAndRecordIfStale that makes the
common (and currently only) use of Md5Checker much simpler (i.e just
call this function). All the users of md5_check are updated to use this
function, and everything else in md5_check is no longer part of the
public API.
Also, adds tests for the md5_check module. These are only run manually currently.
BUG=158821
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=194377
Patch Set 1 #
Total comments: 10
Patch Set 2 : Assert record_path.endswith('.stamp') #Patch Set 3 : Rebase #
Messages
Total messages: 4 (0 generated)
|