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

Unified Diff: components/variations/entropy_provider.h

Issue 1420333006: Remove uses of std::unary_function and std::binary_function. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 fa7a1e25610ccaff49efa8a1bd517684bc6177cc..27e73eb3564e41ee5c6234c39dadb9b49673eea6 100644
--- a/components/variations/entropy_provider.h
+++ b/components/variations/entropy_provider.h
@@ -24,7 +24,7 @@ namespace internal {
// A functor that generates random numbers based on a seed, using the Mersenne
// Twister algorithm. Suitable for use with std::random_shuffle().
-struct SeededRandGenerator : std::unary_function<uint32_t, uint32_t> {
+struct SeededRandGenerator {
explicit SeededRandGenerator(uint32_t seed);
~SeededRandGenerator();
« no previous file with comments | « components/omnibox/browser/url_index_private_data.h ('k') | content/browser/appcache/appcache_storage_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698