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

Unified Diff: Source/modules/crypto/Key.h

Issue 295423004: Expose WebCrypto's algorithm normalization. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 7 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: Source/modules/crypto/Key.h
diff --git a/Source/modules/crypto/Key.h b/Source/modules/crypto/Key.h
index 6ebba662690fcf90ac4ceacde4a13fca3b1f2275..63f3196cbfcf379978357936f65b50a000ad6a90 100644
--- a/Source/modules/crypto/Key.h
+++ b/Source/modules/crypto/Key.h
@@ -34,6 +34,7 @@
#include "bindings/v8/ScriptWrappable.h"
#include "modules/crypto/NormalizeAlgorithm.h"
#include "platform/heap/Handle.h"
+#include "public/platform/WebCryptoAlgorithmOperation.h"
#include "public/platform/WebCryptoKey.h"
#include "wtf/Forward.h"
#include "wtf/RefCounted.h"
@@ -62,7 +63,7 @@ public:
// If the key cannot be used with the indicated algorithm, returns false
// and completes the CryptoResult with an error.
- bool canBeUsedForAlgorithm(const blink::WebCryptoAlgorithm&, AlgorithmOperation, CryptoResult*) const;
+ bool canBeUsedForAlgorithm(const blink::WebCryptoAlgorithm&, blink::AlgorithmOperation, CryptoResult*) const;
// On failure, these return false and complete the CryptoResult with an error.
static bool parseFormat(const String&, blink::WebCryptoKeyFormat&, CryptoResult*);

Powered by Google App Engine
This is Rietveld 408576698