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

Unified Diff: third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/random.h

Issue 1502503004: Remove kuint64max. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@kint8
Patch Set: rebase 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 side-by-side diff with in-line comments
Download patch
Index: third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/random.h
diff --git a/third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/random.h b/third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/random.h
index 55b3abc9e7669b5c0909fa38409c9a4a53f7e75d..c1f2317c377ed5a15824969e5c3047c906e069b6 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

Powered by Google App Engine
This is Rietveld 408576698