blob: b080c2d80e7c143385e9cadbfd9e3a06ec5ed0e1 [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
8#include "update_engine/policy_manager/state.h"
9
10namespace chromeos_policy_manager {
11
12// State implementation class.
13class RealState : public State {
14 public:
Gilad Arnold308c1012014-03-12 15:37:06 -070015 // Instantiate with given providers, assuming ownership of them.
Alex Deymobd04b142014-03-18 15:00:05 -070016 RealState(RandomProvider* random_provider,
17 ShillProvider* shill_provider,
18 SystemProvider* system_provider,
Gilad Arnold78a78112014-03-13 14:58:06 -070019 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_