UpdateEngine-side changes to allow updates over 3G based on device policy.
Some enterprise chromebooks have only 3G and hence they need the ability
to update over 3G if the enterprise policy allows that. This CL adds
the support in update_engine to enable that.
BUG=chromium-os:31099
TEST=Tested E2E on 3G, added unit tests and did regression testing.
CQ-DEPEND=I1a55a392f3dc0f12d917eb45dcf0456b57735514
Change-Id: I121bda35e54fa6c35e002a76db198d13b72b650e
Reviewed-on: https://gerrit.chromium.org/gerrit/25470
Commit-Ready: Jay Srinivasan <jaysri@chromium.org>
Reviewed-by: Jay Srinivasan <jaysri@chromium.org>
Tested-by: Jay Srinivasan <jaysri@chromium.org>
diff --git a/update_check_scheduler.h b/update_check_scheduler.h
index 16f831e..8cfcc46 100644
--- a/update_check_scheduler.h
+++ b/update_check_scheduler.h
@@ -10,6 +10,7 @@
#include <gtest/gtest_prod.h> // for FRIEND_TEST
#include "update_engine/update_attempter.h"
+#include "update_engine/system_state.h"
namespace chromeos_update_engine {