Alex Deymo | 2de23f5 | 2014-02-26 14:30:13 -0800 | [diff] [blame] | 1 | // 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 Arnold | 2cbb385 | 2014-03-07 12:40:50 -0800 | [diff] [blame] | 5 | #ifndef CHROMEOS_PLATFORM_UPDATE_ENGINE_POLICY_MANAGER_REAL_STATE_H_ |
| 6 | #define CHROMEOS_PLATFORM_UPDATE_ENGINE_POLICY_MANAGER_REAL_STATE_H_ |
Alex Deymo | 2de23f5 | 2014-02-26 14:30:13 -0800 | [diff] [blame] | 7 | |
Gilad Arnold | 308c101 | 2014-03-12 15:37:06 -0700 | [diff] [blame] | 8 | #include "update_engine/clock.h" |
Alex Deymo | 2de23f5 | 2014-02-26 14:30:13 -0800 | [diff] [blame] | 9 | #include "update_engine/policy_manager/state.h" |
Gilad Arnold | 308c101 | 2014-03-12 15:37:06 -0700 | [diff] [blame] | 10 | #include "update_engine/real_dbus_wrapper.h" |
Alex Deymo | 2de23f5 | 2014-02-26 14:30:13 -0800 | [diff] [blame] | 11 | |
| 12 | namespace chromeos_policy_manager { |
| 13 | |
| 14 | // State implementation class. |
| 15 | class RealState : public State { |
| 16 | public: |
Gilad Arnold | 308c101 | 2014-03-12 15:37:06 -0700 | [diff] [blame] | 17 | // Instantiate with given providers, assuming ownership of them. |
| 18 | RealState(RandomProvider* random_provider, ShillProvider* shill_provider); |
| 19 | |
Alex Deymo | 2de23f5 | 2014-02-26 14:30:13 -0800 | [diff] [blame] | 20 | ~RealState() {} |
| 21 | |
| 22 | private: |
| 23 | DISALLOW_COPY_AND_ASSIGN(RealState); |
| 24 | }; |
| 25 | |
| 26 | } // namespace chromeos_policy_manager |
| 27 | |
Gilad Arnold | 2cbb385 | 2014-03-07 12:40:50 -0800 | [diff] [blame] | 28 | #endif // CHROMEOS_PLATFORM_UPDATE_ENGINE_POLICY_MANAGER_REAL_STATE_H_ |