Handle AllowKioskAppControlChromeVersion device policy
When AllowKioskAppControlChromeVersion is set to true, get the
required platform version of the auto launched kiosk app from
Chrome and use it as the target version prefix. If the required
platform version is empty, ignore update disabled policy and do
AU to latest.
BUG=chromium:577783
Change-Id: I2ff1981b6c03aa9da4fe46b6f78061c69a71c49a
diff --git a/update_manager/state_factory.h b/update_manager/state_factory.h
index f15fd83..726deeb 100644
--- a/update_manager/state_factory.h
+++ b/update_manager/state_factory.h
@@ -23,6 +23,10 @@
#include "update_engine/system_state.h"
#include "update_engine/update_manager/state.h"
+namespace chromeos_update_engine {
+class LibCrosProxy;
+}
+
namespace chromeos_update_manager {
// Creates and initializes a new UpdateManager State instance containing real
@@ -34,6 +38,7 @@
policy::PolicyProvider* policy_provider,
chromeos_update_engine::ShillProxy* shill_proxy,
org::chromium::SessionManagerInterfaceProxyInterface* session_manager_proxy,
+ chromeos_update_engine::LibCrosProxy* libcros_proxy,
chromeos_update_engine::SystemState* system_state);
} // namespace chromeos_update_manager