Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(321)

Unified Diff: crypto/hmac.h

Issue 6805019: Move crypto files out of base, to a top level directory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698