| OLD | NEW |
| (Empty) |
| 1 // 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 | |
| 10 namespace base { | |
| 11 | |
| 12 class 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_ | |
| OLD | NEW |