blob: a6107860caff0fdd933bc4e1bbf9319085fec3e4 [file] [log] [blame]
Alex Deymoca0aaa62014-01-06 10:39:58 -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#ifndef CHROMEOS_PLATFORM_UPDATE_ENGINE_PM_RANDOM_PROVIDER_H
6#define CHROMEOS_PLATFORM_UPDATE_ENGINE_PM_RANDOM_PROVIDER_H
7
Gilad Arnoldb33e1982014-01-27 14:46:27 -08008#include "policy_manager/provider.h"
Alex Deymoca0aaa62014-01-06 10:39:58 -08009
10namespace chromeos_policy_manager {
11
12// Provider of random values.
Gilad Arnoldb33e1982014-01-27 14:46:27 -080013class RandomProvider : public Provider {
Alex Deymoca0aaa62014-01-06 10:39:58 -080014 public:
15 RandomProvider() {}
Gilad Arnoldb33e1982014-01-27 14:46:27 -080016 virtual ~RandomProvider();
Alex Deymoca0aaa62014-01-06 10:39:58 -080017
Gilad Arnoldb33e1982014-01-27 14:46:27 -080018 protected:
19 virtual bool DoInit();
Alex Deymoca0aaa62014-01-06 10:39:58 -080020
21 private:
22 DISALLOW_COPY_AND_ASSIGN(RandomProvider);
23};
24
25} // namespace chromeos_policy_manager
26
27#endif // CHROMEOS_PLATFORM_UPDATE_ENGINE_PM_RANDOM_PROVIDER_H