| Index: crypto/hmac.h
|
| ===================================================================
|
| --- crypto/hmac.h (revision 79901)
|
| +++ crypto/hmac.h (working copy)
|
| @@ -5,22 +5,21 @@
|
| // Utility class for calculating the HMAC for a given message. We currently
|
| // only support SHA1 for the hash algorithm, but this can be extended easily.
|
|
|
| -#ifndef BASE_HMAC_H_
|
| -#define BASE_HMAC_H_
|
| +#ifndef CRYPTO_HMAC_H_
|
| +#define CRYPTO_HMAC_H_
|
| #pragma once
|
|
|
| #include <string>
|
|
|
| -#include "base/base_api.h"
|
| #include "base/basictypes.h"
|
| #include "base/memory/scoped_ptr.h"
|
|
|
| -namespace base {
|
| +namespace crypto {
|
|
|
| // Simplify the interface and reduce includes by abstracting out the internals.
|
| struct HMACPlatformData;
|
|
|
| -class BASE_API HMAC {
|
| +class HMAC {
|
| public:
|
| // The set of supported hash functions. Extend as required.
|
| enum HashAlgorithm {
|
| @@ -56,6 +55,6 @@
|
| DISALLOW_COPY_AND_ASSIGN(HMAC);
|
| };
|
|
|
| -} // namespace base
|
| +} // namespace crypto
|
|
|
| -#endif // BASE_HMAC_H_
|
| +#endif // CRYPTO_HMAC_H_
|
|
|