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

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

Issue 18033004: WebCrypto: Add WebKit API structure for keys. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase onto master Created 7 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/core/platform/chromium/support/WebCryptoKey.cpp ('k') | Source/modules/crypto/Algorithm.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/crypto/Algorithm.h
diff --git a/Source/modules/crypto/Algorithm.h b/Source/modules/crypto/Algorithm.h
index 17bfc7f366479ce2eac3dd57abc1fd24b4ee4066..5a201b96ce51282e3a3ed882009617d175485d7c 100644
--- a/Source/modules/crypto/Algorithm.h
+++ b/Source/modules/crypto/Algorithm.h
@@ -39,13 +39,11 @@
namespace WebCore {
-typedef int ExceptionCode;
-
class Algorithm : public ScriptWrappable, public RefCounted<Algorithm> {
public:
- static PassRefPtr<Algorithm> create(const WebKit::WebCryptoAlgorithm& algorithm) { return adoptRef(new Algorithm(algorithm)); }
+ static PassRefPtr<Algorithm> create(const WebKit::WebCryptoAlgorithm&);
- const String& name();
+ String name();
WebKit::WebCryptoAlgorithmParamsType type() const { return m_algorithm.paramsType(); }
@@ -53,7 +51,6 @@ protected:
explicit Algorithm(const WebKit::WebCryptoAlgorithm&);
const WebKit::WebCryptoAlgorithm m_algorithm;
- String m_name;
};
} // namespace WebCore
« no previous file with comments | « Source/core/platform/chromium/support/WebCryptoKey.cpp ('k') | Source/modules/crypto/Algorithm.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698