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

Unified Diff: base/crypto/encryptor.h

Issue 1347002: Add Mac implementations of new SymmetricKey and Encryptor classes. (Closed)
Patch Set: Responding to feedback Created 10 years, 9 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: base/crypto/encryptor.h
diff --git a/base/crypto/encryptor.h b/base/crypto/encryptor.h
index 55199d5c917a4246ec9fafd271b786d73612db08..a09c7cdd33b47fc7941f073d16eb8ed285a68d6e 100644
--- a/base/crypto/encryptor.h
+++ b/base/crypto/encryptor.h
@@ -40,6 +40,12 @@ class Encryptor {
#if defined(USE_NSS)
ScopedPK11Slot slot_;
ScopedSECItem param_;
+#elif defined(OS_MACOSX)
+ bool Crypt(int /*CCOperation*/ op,
+ const std::string& input,
+ std::string* output);
+
+ std::string iv_;
#endif
};

Powered by Google App Engine
This is Rietveld 408576698