Index: base/crypto/encryptor.h |
=================================================================== |
--- base/crypto/encryptor.h (revision 43766) |
+++ base/crypto/encryptor.h (working copy) |
@@ -7,11 +7,18 @@ |
#include <string> |
-#include "base/crypto/symmetric_key.h" |
-#include "base/scoped_ptr.h" |
+#include "build/build_config.h" |
+#if defined(USE_NSS) |
+#include "base/crypto/scoped_nss_types.h" |
+#elif defined(OS_WIN) |
+#include "base/crypto/scoped_capi_types.h" |
+#endif |
+ |
namespace base { |
+class SymmetricKey; |
+ |
class Encryptor { |
public: |
enum Mode { |
@@ -45,6 +52,9 @@ |
std::string* output); |
std::string iv_; |
+#elif defined(OS_WIN) |
+ ScopedHCRYPTKEY capi_key_; |
+ DWORD block_size_; |
#endif |
}; |