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

Unified Diff: crypto/symmetric_key.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/symmetric_key.h
===================================================================
--- crypto/symmetric_key.h (revision 79901)
+++ crypto/symmetric_key.h (working copy)
@@ -2,28 +2,27 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef BASE_CRYPTO_SYMMETRIC_KEY_H_
-#define BASE_CRYPTO_SYMMETRIC_KEY_H_
+#ifndef CRYPTO_SYMMETRIC_KEY_H_
+#define CRYPTO_SYMMETRIC_KEY_H_
#pragma once
#include <string>
-#include "base/base_api.h"
#include "base/basictypes.h"
#if defined(USE_NSS)
-#include "base/crypto/scoped_nss_types.h"
+#include "crypto/scoped_nss_types.h"
#elif defined(OS_MACOSX)
#include <Security/cssmtype.h>
#elif defined(OS_WIN)
-#include "base/crypto/scoped_capi_types.h"
+#include "crypto/scoped_capi_types.h"
#endif
-namespace base {
+namespace crypto {
// Wraps a platform-specific symmetric key and allows it to be held in a
// scoped_ptr.
-class BASE_API SymmetricKey {
+class SymmetricKey {
public:
// Defines the algorithm that a key will be used with. See also
// classs Encrptor.
@@ -100,6 +99,6 @@
DISALLOW_COPY_AND_ASSIGN(SymmetricKey);
};
-} // namespace base
+} // namespace crypto
-#endif // BASE_CRYPTO_SYMMETRIC_KEY_H_
+#endif // CRYPTO_SYMMETRIC_KEY_H_

Powered by Google App Engine
This is Rietveld 408576698