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

Unified Diff: crypto/symmetric_key.h

Issue 7756025: Changed OAuth token+secret encryption to use supplemental user key. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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
« no previous file with comments | « crypto/nss_util.cc ('k') | crypto/symmetric_key_nss.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: crypto/symmetric_key.h
===================================================================
--- crypto/symmetric_key.h (revision 99773)
+++ crypto/symmetric_key.h (working copy)
@@ -71,6 +71,11 @@
// carefully.
bool GetRawKey(std::string* raw_key);
+#if defined(OS_CHROMEOS)
+ // Creates symmetric key from NSS key. Takes over the ownership of |key|.
+ static SymmetricKey* CreateFromKey(PK11SymKey* key);
+#endif
+
private:
#if defined(USE_OPENSSL)
SymmetricKey() {}
« no previous file with comments | « crypto/nss_util.cc ('k') | crypto/symmetric_key_nss.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698