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

Unified Diff: content/child/webcrypto/jwk.h

Issue 233733004: [webcrypto] Make operations run on worker threads. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix argument ordering bug Created 6 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
« no previous file with comments | « no previous file | content/child/webcrypto/jwk.cc » ('j') | content/child/webcrypto/webcrypto_impl.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/webcrypto/jwk.h
diff --git a/content/child/webcrypto/jwk.h b/content/child/webcrypto/jwk.h
index 17bf59ed80284d7acbe2095cf0bb283bb6ebacbe..c9191888256d957f56c00da4bebe970307cca9c3 100644
--- a/content/child/webcrypto/jwk.h
+++ b/content/child/webcrypto/jwk.h
@@ -5,6 +5,9 @@
#ifndef CONTENT_CHILD_WEBCRYPTO_JWK_H_
#define CONTENT_CHILD_WEBCRYPTO_JWK_H_
+#include <vector>
+
+#include "base/basictypes.h"
#include "third_party/WebKit/public/platform/WebArrayBuffer.h"
#include "third_party/WebKit/public/platform/WebCrypto.h"
#include "third_party/WebKit/public/platform/WebCryptoAlgorithmParams.h"
@@ -22,8 +25,7 @@ Status ImportKeyJwk(const CryptoData& key_data,
blink::WebCryptoKeyUsageMask usage_mask,
blink::WebCryptoKey* key);
-Status ExportKeyJwk(const blink::WebCryptoKey& key,
- blink::WebArrayBuffer* buffer);
+Status ExportKeyJwk(const blink::WebCryptoKey& key, std::vector<uint8>* buffer);
} // namespace webcrypto
« no previous file with comments | « no previous file | content/child/webcrypto/jwk.cc » ('j') | content/child/webcrypto/webcrypto_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698