root/third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/random.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef GOOGLE_CACHEINVALIDATION_DEPS_RANDOM_H_
#define GOOGLE_CACHEINVALIDATION_DEPS_RANDOM_H_

#include "base/rand_util.h"

namespace invalidation {

class Random {
 public:
  // We don't actually use the seed.
  explicit Random(int64 seed) {}

  virtual ~Random() {}

  // Returns a pseudorandom value between(inclusive) and(exclusive).
  virtual double RandDouble();

  virtual uint64 RandUint64();
};

}  // namespace invalidation

#endif  // GOOGLE_CACHEINVALIDATION_DEPS_RANDOM_H_

/* [<][>][^][v][top][bottom][index][help] */