| Index: Source/modules/crypto/SubtleCrypto.h
|
| diff --git a/Source/modules/crypto/Crypto.h b/Source/modules/crypto/SubtleCrypto.h
|
| similarity index 84%
|
| copy from Source/modules/crypto/Crypto.h
|
| copy to Source/modules/crypto/SubtleCrypto.h
|
| index 3e34ca1599864a5d9cd6592bb922ebc0b6272aeb..a7550052758fb678221f9c7be4f2209562325cdc 100644
|
| --- a/Source/modules/crypto/Crypto.h
|
| +++ b/Source/modules/crypto/SubtleCrypto.h
|
| @@ -1,5 +1,5 @@
|
| /*
|
| - * Copyright (C) 2011 Google Inc. All rights reserved.
|
| + * Copyright (C) 2013 Google Inc. All rights reserved.
|
| *
|
| * Redistribution and use in source and binary forms, with or without
|
| * modification, are permitted provided that the following conditions
|
| @@ -26,8 +26,8 @@
|
| * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -#ifndef Crypto_h
|
| -#define Crypto_h
|
| +#ifndef SubtleCrypto_h
|
| +#define SubtleCrypto_h
|
|
|
| #include "bindings/v8/ScriptWrappable.h"
|
| #include "wtf/Forward.h"
|
| @@ -38,14 +38,12 @@ namespace WebCore {
|
|
|
| typedef int ExceptionCode;
|
|
|
| -class Crypto : public ScriptWrappable, public RefCounted<Crypto> {
|
| +class SubtleCrypto : public ScriptWrappable, public RefCounted<SubtleCrypto> {
|
| public:
|
| - static PassRefPtr<Crypto> create() { return adoptRef(new Crypto()); }
|
| -
|
| - void getRandomValues(ArrayBufferView*, ExceptionCode&);
|
| + static PassRefPtr<SubtleCrypto> create() { return adoptRef(new SubtleCrypto()); }
|
|
|
| private:
|
| - Crypto();
|
| + SubtleCrypto();
|
| };
|
|
|
| }
|
|
|