diff options
author | ghc@google.com <ghc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-07 17:34:20 +0000 |
---|---|---|
committer | ghc@google.com <ghc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-07 17:34:20 +0000 |
commit | 82619a234d0b6aa39073e3fba413d116803877a7 (patch) | |
tree | 122fc21f597a1b8234d537955ad0b7e9fe5eeb52 /third_party/cacheinvalidation/overrides/google | |
parent | fc4f68b0d9d934fe0cfe3d14802eaaf8ed55881e (diff) | |
download | chromium_src-82619a234d0b6aa39073e3fba413d116803877a7.zip chromium_src-82619a234d0b6aa39073e3fba413d116803877a7.tar.gz chromium_src-82619a234d0b6aa39073e3fba413d116803877a7.tar.bz2 |
roll cacheinvalidation forward to @302
Summary of changes:
- Use a random value for the token-assignment nonce instead of the current time.
- Add RandUint64 to the Random class and override.
TBR=brettw@chromium.org
Review URL: https://chromiumcodereview.appspot.com/14822002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198756 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/cacheinvalidation/overrides/google')
-rw-r--r-- | third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/random.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/random.h b/third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/random.h index e43084e..e1b0810 100644 --- a/third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/random.h +++ b/third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/random.h @@ -20,6 +20,10 @@ class Random { virtual double RandDouble() { return base::RandDouble(); } + + virtual uint64 RandUint64() { + return base::RandUint64(); + } }; } // namespace invalidation |