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

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

Issue 340353006: [webcrypto] Replace KeyAlgorithm interfaces with an Object. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase onto master Created 6 years, 6 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/CryptoKey.h
diff --git a/Source/modules/crypto/CryptoKey.h b/Source/modules/crypto/CryptoKey.h
index d200fde19bb5fe47ca06b1e9aaf56c50511149fe..7661f5aa1872eba256c0721fae88b173d12438b5 100644
--- a/Source/modules/crypto/CryptoKey.h
+++ b/Source/modules/crypto/CryptoKey.h
@@ -34,7 +34,6 @@
#include "bindings/v8/ScriptWrappable.h"
#include "modules/crypto/NormalizeAlgorithm.h"
#include "platform/heap/Handle.h"
-#include "public/platform/WebCryptoAlgorithm.h"
#include "public/platform/WebCryptoKey.h"
#include "wtf/Forward.h"
#include "wtf/text/WTFString.h"
@@ -55,7 +54,6 @@ public:
String type() const;
bool extractable() const;
- KeyAlgorithm* algorithm();
Vector<String> usages() const;
const blink::WebCryptoKey& key() const { return m_key; }
@@ -68,13 +66,12 @@ public:
static bool parseFormat(const String&, blink::WebCryptoKeyFormat&, CryptoResult*);
static bool parseUsageMask(const Vector<String>&, blink::WebCryptoKeyUsageMask&, CryptoResult*);
- void trace(Visitor*);
+ void trace(Visitor*) { }
protected:
explicit CryptoKey(const blink::WebCryptoKey&);
const blink::WebCryptoKey m_key;
- Member<KeyAlgorithm> m_algorithm;
};
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698