| Index: Source/modules/crypto/WorkerGlobalScopeCrypto.h
|
| diff --git a/Source/modules/crypto/WorkerContextCrypto.h b/Source/modules/crypto/WorkerGlobalScopeCrypto.h
|
| similarity index 85%
|
| rename from Source/modules/crypto/WorkerContextCrypto.h
|
| rename to Source/modules/crypto/WorkerGlobalScopeCrypto.h
|
| index 7f0504a7ede801611b2554137052e97a38ed1865..3910ea23f6f5d042bf190a28e25ef3756ea32c84 100644
|
| --- a/Source/modules/crypto/WorkerContextCrypto.h
|
| +++ b/Source/modules/crypto/WorkerGlobalScopeCrypto.h
|
| @@ -28,8 +28,8 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -#ifndef WorkerContextCrypto_h
|
| -#define WorkerContextCrypto_h
|
| +#ifndef WorkerGlobalScopeCrypto_h
|
| +#define WorkerGlobalScopeCrypto_h
|
|
|
| #include "core/platform/Supplementable.h"
|
|
|
| @@ -38,15 +38,15 @@ namespace WebCore {
|
| class WorkerCrypto;
|
| class ScriptExecutionContext;
|
|
|
| -class WorkerContextCrypto : public Supplement<ScriptExecutionContext> {
|
| +class WorkerGlobalScopeCrypto : public Supplement<ScriptExecutionContext> {
|
| public:
|
| - virtual ~WorkerContextCrypto();
|
| - static WorkerContextCrypto* from(ScriptExecutionContext*);
|
| + virtual ~WorkerGlobalScopeCrypto();
|
| + static WorkerGlobalScopeCrypto* from(ScriptExecutionContext*);
|
| static WorkerCrypto* crypto(ScriptExecutionContext*);
|
| WorkerCrypto* crypto() const;
|
|
|
| private:
|
| - WorkerContextCrypto();
|
| + WorkerGlobalScopeCrypto();
|
| static const char* supplementName();
|
|
|
| mutable RefPtr<WorkerCrypto> m_crypto;
|
| @@ -54,4 +54,4 @@ private:
|
|
|
| } // namespace WebCore
|
|
|
| -#endif // WorkerContextCrypto_h
|
| +#endif // WorkerGlobalScopeCrypto_h
|
|
|