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

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: Created 7 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/Algorithm.h
diff --git a/Source/modules/crypto/Algorithm.h b/Source/modules/crypto/Algorithm.h
index 17bfc7f366479ce2eac3dd57abc1fd24b4ee4066..082d4f64b8ebeb5552c297431db481e6989663ba 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)); }
- 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

Powered by Google App Engine
This is Rietveld 408576698