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

Unified Diff: components/variations/entropy_provider.h

Issue 666133002: Standardize usage of virtual/override/final in components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months 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 side-by-side diff with in-line comments
Download patch
Index: components/variations/entropy_provider.h
diff --git a/components/variations/entropy_provider.h b/components/variations/entropy_provider.h
index ff6ba87fe91344ed1820d9dc642da2233754747a..0fff0b032c3c7c75359d6578423d31939f39a8d6 100644
--- a/components/variations/entropy_provider.h
+++ b/components/variations/entropy_provider.h
@@ -48,11 +48,11 @@ class SHA1EntropyProvider : public base::FieldTrial::EntropyProvider {
// should contain a large amount of entropy - for example, a textual
// representation of a persistent randomly-generated 128-bit value.
explicit SHA1EntropyProvider(const std::string& entropy_source);
- virtual ~SHA1EntropyProvider();
+ ~SHA1EntropyProvider() override;
// base::FieldTrial::EntropyProvider implementation:
- virtual double GetEntropyForTrial(const std::string& trial_name,
- uint32 randomization_seed) const override;
+ double GetEntropyForTrial(const std::string& trial_name,
+ uint32 randomization_seed) const override;
private:
std::string entropy_source_;
@@ -71,11 +71,11 @@ class PermutedEntropyProvider : public base::FieldTrial::EntropyProvider {
// which should have a value in the range of [0, low_entropy_source_max).
PermutedEntropyProvider(uint16 low_entropy_source,
size_t low_entropy_source_max);
- virtual ~PermutedEntropyProvider();
+ ~PermutedEntropyProvider() override;
// base::FieldTrial::EntropyProvider implementation:
- virtual double GetEntropyForTrial(const std::string& trial_name,
- uint32 randomization_seed) const override;
+ double GetEntropyForTrial(const std::string& trial_name,
+ uint32 randomization_seed) const override;
protected:
// Performs the permutation algorithm and returns the permuted value that
« no previous file with comments | « components/variations/caching_permuted_entropy_provider.h ('k') | components/variations/entropy_provider_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698