Alex Deymo | 63784a5 | 2014-05-28 10:46:14 -0700 | [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 | |
| 5 | #include "update_engine/update_manager/update_manager.h" |
| 6 | |
| 7 | #include "update_engine/update_manager/chromeos_policy.h" |
| 8 | #include "update_engine/update_manager/state.h" |
| 9 | |
| 10 | namespace chromeos_update_manager { |
| 11 | |
| 12 | UpdateManager::UpdateManager(chromeos_update_engine::ClockInterface* clock, |
| 13 | State* state) |
| 14 | : state_(state), clock_(clock) { |
| 15 | // TODO(deymo): Make it possible to replace this policy with a different |
| 16 | // implementation with a build-time flag. |
| 17 | policy_.reset(new ChromeOSPolicy()); |
| 18 | } |
| 19 | |
| 20 | } // namespace chromeos_update_manager |