blob: c55bea62d4d6208a8865b031cfba3f9e595fba0e [file] [log] [blame]
Daniel Eratb8cf9492015-07-06 13:18:13 -06001// Copyright 2015 The Chromium 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 BASE_TEST_MOCK_ENTROPY_PROVIDER_H_
6#define BASE_TEST_MOCK_ENTROPY_PROVIDER_H_
7
8#include "base/metrics/field_trial.h"
9
10namespace base {
11
12class MockEntropyProvider : public base::FieldTrial::EntropyProvider {
13 public:
14 ~MockEntropyProvider() override;
15
16 // base::FieldTrial::EntropyProvider:
17 double GetEntropyForTrial(const std::string& trial_name,
18 uint32 randomization_seed) const override;
19};
20
21} // namespace base
22
23#endif // BASE_TEST_MOCK_ENTROPY_PROVIDER_H_