summaryrefslogtreecommitdiffstats
path: root/chrome/common/random.h
diff options
context:
space:
mode:
authorakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-22 03:39:20 +0000
committerakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-22 03:39:20 +0000
commitb0cdc59a0989ac7e1adfb67a2e307ab6a637d90f (patch)
treea69892c65f0fd67058fdab649ba53ee0a8c93d02 /chrome/common/random.h
parent0643f9f4667ce54cd0bca848160857a7ff53a527 (diff)
downloadchromium_src-b0cdc59a0989ac7e1adfb67a2e307ab6a637d90f.zip
chromium_src-b0cdc59a0989ac7e1adfb67a2e307ab6a637d90f.tar.gz
chromium_src-b0cdc59a0989ac7e1adfb67a2e307ab6a637d90f.tar.bz2
[Sync] Remove dependency on common/random.h from sync
Inline the (really simple) code instead (also in encryptor_password_mac.{h,cc}). Move unit tests to callers. BUG=113723 TEST= Review URL: http://codereview.chromium.org/9413032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122960 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/random.h')
-rw-r--r--chrome/common/random.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/chrome/common/random.h b/chrome/common/random.h
deleted file mode 100644
index 0ad538f..0000000
--- a/chrome/common/random.h
+++ /dev/null
@@ -1,15 +0,0 @@
-// Copyright (c) 2011 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 CHROME_COMMON_RANDOM_H_
-#define CHROME_COMMON_RANDOM_H_
-#pragma once
-
-#include <string>
-
-// Generate128BitRandomBase64String returns a string of length 24 containing
-// cryptographically strong random data encoded in base64.
-std::string Generate128BitRandomBase64String();
-
-#endif // CHROME_COMMON_RANDOM_H_