OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "base/test/mock_entropy_provider.h" | 5 #include "base/test/mock_entropy_provider.h" |
6 | 6 |
7 namespace base { | 7 namespace base { |
8 | 8 |
9 MockEntropyProvider::~MockEntropyProvider() {} | 9 MockEntropyProvider::~MockEntropyProvider() {} |
10 | 10 |
11 double MockEntropyProvider::GetEntropyForTrial( | 11 double MockEntropyProvider::GetEntropyForTrial( |
12 const std::string& trial_name, uint32 randomization_seed) const { | 12 const std::string& trial_name, |
| 13 uint32_t randomization_seed) const { |
13 return 0.5; | 14 return 0.5; |
14 } | 15 } |
15 | 16 |
16 } // namespace base | 17 } // namespace base |
OLD | NEW |