PolicyManager: New System provider.
The system provider exposes information about the device from
crossystem and the kernel boot command line options.
BUG=chromium:338587
TEST=Unit tests.
Change-Id: I2837a97740b63562155717cfe6a12fad69fd8cea
Reviewed-on: https://chromium-review.googlesource.com/191121
Reviewed-by: Alex Deymo <deymo@chromium.org>
Tested-by: Alex Deymo <deymo@chromium.org>
Commit-Queue: Alex Deymo <deymo@chromium.org>
diff --git a/policy_manager/real_state.h b/policy_manager/real_state.h
index c0f1ac6..b080c2d 100644
--- a/policy_manager/real_state.h
+++ b/policy_manager/real_state.h
@@ -5,9 +5,7 @@
#ifndef CHROMEOS_PLATFORM_UPDATE_ENGINE_POLICY_MANAGER_REAL_STATE_H_
#define CHROMEOS_PLATFORM_UPDATE_ENGINE_POLICY_MANAGER_REAL_STATE_H_
-#include "update_engine/clock.h"
#include "update_engine/policy_manager/state.h"
-#include "update_engine/real_dbus_wrapper.h"
namespace chromeos_policy_manager {
@@ -15,7 +13,9 @@
class RealState : public State {
public:
// Instantiate with given providers, assuming ownership of them.
- RealState(RandomProvider* random_provider, ShillProvider* shill_provider,
+ RealState(RandomProvider* random_provider,
+ ShillProvider* shill_provider,
+ SystemProvider* system_provider,
TimeProvider* time_provider);
~RealState() {}