Revert "Revert "AU: do not copy filesystem during full updates""
This reverts commit d1cd325c3135d88498483da811b594ba6b91ce42
The problem that caused all autotests to fail with the original CL has now been rectified; lab devservers were updated to send the correct delta flag in their omaha response.
Change-Id: I664afb33f72856572baaa658cbd473c07271af36
Reviewed-on: https://gerrit.chromium.org/gerrit/56600
Reviewed-by: Gilad Arnold <garnold@chromium.org>
Tested-by: Gilad Arnold <garnold@chromium.org>
Commit-Queue: Gilad Arnold <garnold@chromium.org>
diff --git a/download_action_unittest.cc b/download_action_unittest.cc
index 3911d55..e937d71 100644
--- a/download_action_unittest.cc
+++ b/download_action_unittest.cc
@@ -131,6 +131,7 @@
OmahaHashCalculator::OmahaHashOfBytes(&data[1], data.size() - 1);
uint64_t size = data.size();
InstallPlan install_plan(false,
+ false,
"",
size,
hash,
@@ -252,7 +253,8 @@
// takes ownership of passed in HttpFetcher
ObjectFeederAction<InstallPlan> feeder_action;
- InstallPlan install_plan(false, "", 0, "", 0, "", temp_file.GetPath(), "");
+ InstallPlan install_plan(false, false, "", 0, "", 0, "",
+ temp_file.GetPath(), "");
feeder_action.set_obj(install_plan);
PrefsMock prefs;
DownloadAction download_action(&prefs, NULL,
@@ -354,6 +356,7 @@
// takes ownership of passed in HttpFetcher
InstallPlan install_plan(false,
+ false,
"",
1,
OmahaHashCalculator::OmahaHashOfString("x"),
@@ -395,7 +398,7 @@
DirectFileWriter writer;
// takes ownership of passed in HttpFetcher
- InstallPlan install_plan(false, "", 0, "", 0, "", path, "");
+ InstallPlan install_plan(false, false, "", 0, "", 0, "", path, "");
ObjectFeederAction<InstallPlan> feeder_action;
feeder_action.set_obj(install_plan);
PrefsMock prefs;