1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef GOOGLE_CACHEINVALIDATION_DEPS_RANDOM_H_
6 #define GOOGLE_CACHEINVALIDATION_DEPS_RANDOM_H_
8 #include "base/rand_util.h"
10 namespace invalidation {
14 // We don't actually use the seed.
15 explicit Random(int64 seed) {}
19 // Returns a pseudorandom value between(inclusive) and(exclusive).
20 virtual double RandDouble();
22 virtual uint64 RandUint64();
25 } // namespace invalidation
27 #endif // GOOGLE_CACHEINVALIDATION_DEPS_RANDOM_H_