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

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

Issue 17648006: Rename WorkerContext to WorkerGlobalScope (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase on master 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
« no previous file with comments | « Source/modules/crypto/WorkerContextCrypto.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/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
« no previous file with comments | « Source/modules/crypto/WorkerContextCrypto.idl ('k') | Source/modules/crypto/WorkerGlobalScopeCrypto.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698