OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef CHROME_COMMON_METRICS_ENTROPY_PROVIDER_H_ | 5 #ifndef COMPONENTS_VARIATIONS_ENTROPY_PROVIDER_H_ |
6 #define CHROME_COMMON_METRICS_ENTROPY_PROVIDER_H_ | 6 #define COMPONENTS_VARIATIONS_ENTROPY_PROVIDER_H_ |
7 | 7 |
8 #include <functional> | 8 #include <functional> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
13 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
14 #include "base/metrics/field_trial.h" | 14 #include "base/metrics/field_trial.h" |
15 #include "third_party/mt19937ar/mt19937ar.h" | 15 #include "third_party/mt19937ar/mt19937ar.h" |
16 | 16 |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 | 84 |
85 private: | 85 private: |
86 uint16 low_entropy_source_; | 86 uint16 low_entropy_source_; |
87 size_t low_entropy_source_max_; | 87 size_t low_entropy_source_max_; |
88 | 88 |
89 DISALLOW_COPY_AND_ASSIGN(PermutedEntropyProvider); | 89 DISALLOW_COPY_AND_ASSIGN(PermutedEntropyProvider); |
90 }; | 90 }; |
91 | 91 |
92 } // namespace metrics | 92 } // namespace metrics |
93 | 93 |
94 #endif // CHROME_COMMON_METRICS_ENTROPY_PROVIDER_H_ | 94 #endif // COMPONENTS_VARIATIONS_ENTROPY_PROVIDER_H_ |
OLD | NEW |