blob: e2eddd740cc5b89c28665b8b27d2a9baf970aab4 [file] [log] [blame]
Alex Deymo2de23f52014-02-26 14:30:13 -08001// Copyright (c) 2014 The Chromium OS Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
Gilad Arnold2cbb3852014-03-07 12:40:50 -08005#ifndef CHROMEOS_PLATFORM_UPDATE_ENGINE_POLICY_MANAGER_REAL_STATE_H_
6#define CHROMEOS_PLATFORM_UPDATE_ENGINE_POLICY_MANAGER_REAL_STATE_H_
Alex Deymo2de23f52014-02-26 14:30:13 -08007
Gilad Arnold308c1012014-03-12 15:37:06 -07008#include "update_engine/clock.h"
Alex Deymo2de23f52014-02-26 14:30:13 -08009#include "update_engine/policy_manager/state.h"
Gilad Arnold308c1012014-03-12 15:37:06 -070010#include "update_engine/real_dbus_wrapper.h"
Alex Deymo2de23f52014-02-26 14:30:13 -080011
12namespace chromeos_policy_manager {
13
14// State implementation class.
15class RealState : public State {
16 public:
Gilad Arnold308c1012014-03-12 15:37:06 -070017 // Instantiate with given providers, assuming ownership of them.
18 RealState(RandomProvider* random_provider, ShillProvider* shill_provider);
19
Alex Deymo2de23f52014-02-26 14:30:13 -080020 ~RealState() {}
21
22 private:
23 DISALLOW_COPY_AND_ASSIGN(RealState);
24};
25
26} // namespace chromeos_policy_manager
27
Gilad Arnold2cbb3852014-03-07 12:40:50 -080028#endif // CHROMEOS_PLATFORM_UPDATE_ENGINE_POLICY_MANAGER_REAL_STATE_H_