Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Side by Side Diff: base/test/mock_entropy_provider.h

Issue 1544113002: Switch to standard integer types in base/test/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « base/test/mock_devices_changed_observer.h ('k') | base/test/mock_entropy_provider.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #ifndef BASE_TEST_MOCK_ENTROPY_PROVIDER_H_ 5 #ifndef BASE_TEST_MOCK_ENTROPY_PROVIDER_H_
6 #define BASE_TEST_MOCK_ENTROPY_PROVIDER_H_ 6 #define BASE_TEST_MOCK_ENTROPY_PROVIDER_H_
7 7
8 #include <stdint.h>
9
8 #include "base/metrics/field_trial.h" 10 #include "base/metrics/field_trial.h"
9 11
10 namespace base { 12 namespace base {
11 13
12 class MockEntropyProvider : public base::FieldTrial::EntropyProvider { 14 class MockEntropyProvider : public base::FieldTrial::EntropyProvider {
13 public: 15 public:
14 ~MockEntropyProvider() override; 16 ~MockEntropyProvider() override;
15 17
16 // base::FieldTrial::EntropyProvider: 18 // base::FieldTrial::EntropyProvider:
17 double GetEntropyForTrial(const std::string& trial_name, 19 double GetEntropyForTrial(const std::string& trial_name,
18 uint32 randomization_seed) const override; 20 uint32_t randomization_seed) const override;
19 }; 21 };
20 22
21 } // namespace base 23 } // namespace base
22 24
23 #endif // BASE_TEST_MOCK_ENTROPY_PROVIDER_H_ 25 #endif // BASE_TEST_MOCK_ENTROPY_PROVIDER_H_
OLDNEW
« no previous file with comments | « base/test/mock_devices_changed_observer.h ('k') | base/test/mock_entropy_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698