blob: c0f1ac6db7d3bcb1f0b8d1e48dc4307b93f90b2a [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.
Gilad Arnold78a78112014-03-13 14:58:06 -070018 RealState(RandomProvider* random_provider, ShillProvider* shill_provider,
19 TimeProvider* time_provider);
Gilad Arnold308c1012014-03-12 15:37:06 -070020
Alex Deymo2de23f52014-02-26 14:30:13 -080021 ~RealState() {}
22
23 private:
24 DISALLOW_COPY_AND_ASSIGN(RealState);
25};
26
27} // namespace chromeos_policy_manager
28
Gilad Arnold2cbb3852014-03-07 12:40:50 -080029#endif // CHROMEOS_PLATFORM_UPDATE_ENGINE_POLICY_MANAGER_REAL_STATE_H_