blob: cd10918d80881601389218014e5b7a82d7ec9ea5 [file] [log] [blame]
Alex Deymoc705cc82014-02-19 11:15:00 -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
5#include <string>
6
7#include "update_engine/policy_manager/chromeos_policy.h"
8
9using std::string;
10
11namespace chromeos_policy_manager {
12
13EvalStatus ChromeOSPolicy::UpdateCheckAllowed(EvaluationContext* ec,
Alex Deymo2de23f52014-02-26 14:30:13 -080014 State* state, string* error,
Alex Deymoc705cc82014-02-19 11:15:00 -080015 bool* result) const {
16 // TODO(deymo): Write this policy implementation with the actual policy.
17 *result = true;
Alex Deymoe636c3c2014-03-11 19:02:08 -070018 return EvalStatus::kSucceeded;
Alex Deymoc705cc82014-02-19 11:15:00 -080019}
20
21} // namespace chromeos_policy_manager