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

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

Issue 179353002: [webcrypto] Add the KeyAlgorithm interface. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase yet again (another conflict) Created 6 years, 10 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 | « Source/modules/crypto/HmacKeyAlgorithm.idl ('k') | Source/modules/crypto/Key.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/crypto/Key.h
diff --git a/Source/modules/crypto/Key.h b/Source/modules/crypto/Key.h
index 6fb89cc775e0644ea3e84b9a8cb62de16da89b05..a9cafb501331e3cc3f6b7392a5e225365cbf98be 100644
--- a/Source/modules/crypto/Key.h
+++ b/Source/modules/crypto/Key.h
@@ -42,10 +42,10 @@
namespace WebCore {
-class Algorithm;
class CryptoResult;
+class KeyAlgorithm;
-class Key : public RefCountedWillBeGarbageCollectedFinalized<Key>, public ScriptWrappable {
+class Key : public RefCountedWillBeGarbageCollectedFinalized<Key>, public ScriptWrappable {
public:
static PassRefPtrWillBeRawPtr<Key> create(const blink::WebCryptoKey& key)
{
@@ -56,7 +56,7 @@ public:
String type() const;
bool extractable() const;
- Algorithm* algorithm();
+ KeyAlgorithm* algorithm();
Vector<String> usages() const;
const blink::WebCryptoKey& key() const { return m_key; }
@@ -75,7 +75,7 @@ protected:
explicit Key(const blink::WebCryptoKey&);
const blink::WebCryptoKey m_key;
- RefPtrWillBeMember<Algorithm> m_algorithm;
+ RefPtrWillBeMember<KeyAlgorithm> m_algorithm;
};
} // namespace WebCore
« no previous file with comments | « Source/modules/crypto/HmacKeyAlgorithm.idl ('k') | Source/modules/crypto/Key.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698