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

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

Issue 222553007: [webcrypto] Expose crypto.subtle to web workers. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: check if changes... Created 6 years, 9 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/modules/crypto/WorkerCrypto.idl ('k') | Source/modules/crypto/WorkerGlobalScopeCrypto.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/crypto/WorkerGlobalScopeCrypto.h
diff --git a/Source/modules/crypto/WorkerGlobalScopeCrypto.h b/Source/modules/crypto/WorkerGlobalScopeCrypto.h
index b06b1c70ce1b1a026821cfd31703c0e41041d366..eb2e4cb6b05afc71cd16daee727df3c167ef791e 100644
--- a/Source/modules/crypto/WorkerGlobalScopeCrypto.h
+++ b/Source/modules/crypto/WorkerGlobalScopeCrypto.h
@@ -37,16 +37,16 @@
namespace WebCore {
+class Crypto;
class ExecutionContext;
-class WorkerCrypto;
class WorkerGlobalScope;
class WorkerGlobalScopeCrypto FINAL : public NoBaseWillBeGarbageCollected<WorkerGlobalScopeCrypto>, public WillBeHeapSupplement<WorkerGlobalScope> {
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(WorkerGlobalScopeCrypto);
public:
static WorkerGlobalScopeCrypto& from(WillBeHeapSupplementable<WorkerGlobalScope>&);
- static WorkerCrypto* crypto(WillBeHeapSupplementable<WorkerGlobalScope>&);
- WorkerCrypto* crypto() const;
+ static Crypto* crypto(WillBeHeapSupplementable<WorkerGlobalScope>&);
+ Crypto* crypto() const;
virtual void trace(Visitor*);
@@ -54,7 +54,7 @@ private:
WorkerGlobalScopeCrypto();
static const char* supplementName();
- mutable RefPtrWillBeMember<WorkerCrypto> m_crypto;
+ mutable RefPtrWillBeMember<Crypto> m_crypto;
};
} // namespace WebCore
« no previous file with comments | « Source/modules/crypto/WorkerCrypto.idl ('k') | Source/modules/crypto/WorkerGlobalScopeCrypto.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698