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

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: Remove const reference and make v8value a value Created 6 years, 5 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/AesKeyAlgorithm.idl ('k') | Source/modules/crypto/CryptoKey.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/crypto/CryptoKey.h
diff --git a/Source/modules/crypto/CryptoKey.h b/Source/modules/crypto/CryptoKey.h
index 4a0b3c3d3ec80d0ba019ab921dcf90f9798ef1ca..01ba9a07d7992d1a8908d246059c95b6ce1abd3b 100644
--- a/Source/modules/crypto/CryptoKey.h
+++ b/Source/modules/crypto/CryptoKey.h
@@ -34,7 +34,6 @@
#include "bindings/core/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
« no previous file with comments | « Source/modules/crypto/AesKeyAlgorithm.idl ('k') | Source/modules/crypto/CryptoKey.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698