Adding two local state prefs for component updater
[chromium-blink-merge.git] / chrome / common / random.h
blob0ad538f83930e620a064a4484bb008c2a1b3d3e8
1 // Copyright (c) 2011 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 CHROME_COMMON_RANDOM_H_
6 #define CHROME_COMMON_RANDOM_H_
7 #pragma once
9 #include <string>
11 // Generate128BitRandomBase64String returns a string of length 24 containing
12 // cryptographically strong random data encoded in base64.
13 std::string Generate128BitRandomBase64String();
15 #endif // CHROME_COMMON_RANDOM_H_