| Index: Source/modules/crypto/Algorithm.h | 
| diff --git a/Source/modules/crypto/WorkerCrypto.h b/Source/modules/crypto/Algorithm.h | 
| similarity index 75% | 
| copy from Source/modules/crypto/WorkerCrypto.h | 
| copy to Source/modules/crypto/Algorithm.h | 
| index 5bbb3f5d39eba918f40aab6f91439d3993547e81..17bfc7f366479ce2eac3dd57abc1fd24b4ee4066 100644 | 
| --- a/Source/modules/crypto/WorkerCrypto.h | 
| +++ b/Source/modules/crypto/Algorithm.h | 
| @@ -28,10 +28,11 @@ | 
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 
| */ | 
|  | 
| -#ifndef WorkerCrypto_h | 
| -#define WorkerCrypto_h | 
| +#ifndef Algorithm_h | 
| +#define Algorithm_h | 
|  | 
| #include "bindings/v8/ScriptWrappable.h" | 
| +#include "public/platform/WebCryptoAlgorithm.h" | 
| #include "wtf/Forward.h" | 
| #include "wtf/PassRefPtr.h" | 
| #include "wtf/RefCounted.h" | 
| @@ -40,14 +41,21 @@ namespace WebCore { | 
|  | 
| typedef int ExceptionCode; | 
|  | 
| -class WorkerCrypto : public ScriptWrappable, public RefCounted<WorkerCrypto> { | 
| +class Algorithm : public ScriptWrappable, public RefCounted<Algorithm> { | 
| public: | 
| -    static PassRefPtr<WorkerCrypto> create() { return adoptRef(new WorkerCrypto()); } | 
| +    static PassRefPtr<Algorithm> create(const WebKit::WebCryptoAlgorithm& algorithm) { return adoptRef(new Algorithm(algorithm)); } | 
|  | 
| -private: | 
| -    WorkerCrypto(); | 
| +    const String& name(); | 
| + | 
| +    WebKit::WebCryptoAlgorithmParamsType type() const { return m_algorithm.paramsType(); } | 
| + | 
| +protected: | 
| +    explicit Algorithm(const WebKit::WebCryptoAlgorithm&); | 
| + | 
| +    const WebKit::WebCryptoAlgorithm m_algorithm; | 
| +    String m_name; | 
| }; | 
|  | 
| -} | 
| +} // namespace WebCore | 
|  | 
| #endif | 
|  |