AU: Start checkpointing update progress.
Checkpoint the manifest metadata size and the update
check response hash in the preference store. Also checkpoint
the next operation and data offset.
Add methods for getting/setting hash context.
BUG=7390,7394
TEST=unit tests
Change-Id: I25291bf598ac9b0f1033e11cfe59df45b1f6eeab
Review URL: http://codereview.chromium.org/3521016
diff --git a/update_attempter_unittest.cc b/update_attempter_unittest.cc
index 3c802b7..b8d85a1 100644
--- a/update_attempter_unittest.cc
+++ b/update_attempter_unittest.cc
@@ -78,7 +78,7 @@
OmahaRequestAction omaha_request_action(NULL, params, NULL, NULL);
EXPECT_EQ(kActionCodeOmahaRequestError,
GetErrorCodeForAction(&omaha_request_action, kActionCodeError));
- OmahaResponseHandlerAction omaha_response_handler_action;
+ OmahaResponseHandlerAction omaha_response_handler_action(&prefs_);
EXPECT_EQ(kActionCodeOmahaResponseHandlerError,
GetErrorCodeForAction(&omaha_response_handler_action,
kActionCodeError));