Include inttypes.h unconditionally in format_macros.h - VS2103 now supplies this...
[chromium-blink-merge.git] / base / test / mock_entropy_provider.h
blobc55bea62d4d6208a8865b031cfba3f9e595fba0e
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.
5 #ifndef BASE_TEST_MOCK_ENTROPY_PROVIDER_H_
6 #define BASE_TEST_MOCK_ENTROPY_PROVIDER_H_
8 #include "base/metrics/field_trial.h"
10 namespace base {
12 class MockEntropyProvider : public base::FieldTrial::EntropyProvider {
13 public:
14 ~MockEntropyProvider() override;
16 // base::FieldTrial::EntropyProvider:
17 double GetEntropyForTrial(const std::string& trial_name,
18 uint32 randomization_seed) const override;
21 } // namespace base
23 #endif // BASE_TEST_MOCK_ENTROPY_PROVIDER_H_