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

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: Inline the empty trace() 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
Index: Source/modules/crypto/Key.h
diff --git a/Source/modules/crypto/Key.h b/Source/modules/crypto/Key.h
index 6937c14a82bc07b5655be0ee83edf72b8642c317..d2f47512c5c2aabdf9c6b665bc631f8110ef3656 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 {
DECLARE_GC_INFO;
public:
static PassRefPtrWillBeRawPtr<Key> create(const blink::WebCryptoKey& key)
@@ -57,7 +57,7 @@ public:
String type() const;
bool extractable() const;
- Algorithm* algorithm();
+ KeyAlgorithm* algorithm();
Vector<String> usages() const;
const blink::WebCryptoKey& key() const { return m_key; }
@@ -76,7 +76,7 @@ protected:
explicit Key(const blink::WebCryptoKey&);
const blink::WebCryptoKey m_key;
- RefPtrWillBeMember<Algorithm> m_algorithm;
+ RefPtrWillBeMember<KeyAlgorithm> m_algorithm;
};
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698