Alex Deymo | c705cc8 | 2014-02-19 11:15:00 -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 | |
| 5 | #include <string> |
| 6 | |
| 7 | #include "update_engine/policy_manager/chromeos_policy.h" |
| 8 | |
| 9 | using std::string; |
| 10 | |
| 11 | namespace chromeos_policy_manager { |
| 12 | |
| 13 | EvalStatus ChromeOSPolicy::UpdateCheckAllowed(EvaluationContext* ec, |
Alex Deymo | 2de23f5 | 2014-02-26 14:30:13 -0800 | [diff] [blame] | 14 | State* state, string* error, |
Alex Deymo | c705cc8 | 2014-02-19 11:15:00 -0800 | [diff] [blame] | 15 | bool* result) const { |
| 16 | // TODO(deymo): Write this policy implementation with the actual policy. |
| 17 | *result = true; |
Alex Deymo | e636c3c | 2014-03-11 19:02:08 -0700 | [diff] [blame^] | 18 | return EvalStatus::kSucceeded; |
Alex Deymo | c705cc8 | 2014-02-19 11:15:00 -0800 | [diff] [blame] | 19 | } |
| 20 | |
| 21 | } // namespace chromeos_policy_manager |