diff options
author | avi <avi@chromium.org> | 2015-12-09 11:53:14 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-12-09 19:53:54 +0000 |
commit | bf0746c5b7b8c3eece1a3a66091942efd74f3e4f (patch) | |
tree | 824c62f58502946a05fda56263c83316465c8e6c /third_party/cacheinvalidation/overrides | |
parent | fcdc338e7838d2a59103df64815896e4cd6de6a9 (diff) | |
download | chromium_src-bf0746c5b7b8c3eece1a3a66091942efd74f3e4f.zip chromium_src-bf0746c5b7b8c3eece1a3a66091942efd74f3e4f.tar.gz chromium_src-bf0746c5b7b8c3eece1a3a66091942efd74f3e4f.tar.bz2 |
Remove kuint64max.
BUG=138542, 488550
Review URL: https://codereview.chromium.org/1502503004
Cr-Commit-Position: refs/heads/master@{#364133}
Diffstat (limited to 'third_party/cacheinvalidation/overrides')
-rw-r--r-- | third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/random.cc | 2 | ||||
-rw-r--r-- | third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/random.h | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/random.cc b/third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/random.cc index 808baa65..585a6a2 100644 --- a/third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/random.cc +++ b/third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/random.cc @@ -10,7 +10,7 @@ double Random::RandDouble() { return base::RandDouble(); } -uint64 Random::RandUint64() { +uint64_t Random::RandUint64() { return base::RandUint64(); } diff --git a/third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/random.h b/third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/random.h index 55b3abc..c1f2317 100644 --- a/third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/random.h +++ b/third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/random.h @@ -5,6 +5,8 @@ #ifndef GOOGLE_CACHEINVALIDATION_DEPS_RANDOM_H_ #define GOOGLE_CACHEINVALIDATION_DEPS_RANDOM_H_ +#include <stdint.h> + #include "base/rand_util.h" namespace invalidation { @@ -12,14 +14,14 @@ namespace invalidation { class Random { public: // We don't actually use the seed. - explicit Random(int64 seed) {} + explicit Random(int64_t seed) {} virtual ~Random() {} // Returns a pseudorandom value between(inclusive) and(exclusive). virtual double RandDouble(); - virtual uint64 RandUint64(); + virtual uint64_t RandUint64(); }; } // namespace invalidation |