OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 20 matching lines...) Expand all Loading... |
31 #include "config.h" | 31 #include "config.h" |
32 #include "ServiceWorkerGlobalScopeProxy.h" | 32 #include "ServiceWorkerGlobalScopeProxy.h" |
33 | 33 |
34 #include "WebEmbeddedWorkerImpl.h" | 34 #include "WebEmbeddedWorkerImpl.h" |
35 #include "WebSerializedScriptValue.h" | 35 #include "WebSerializedScriptValue.h" |
36 #include "WebServiceWorkerContextClient.h" | 36 #include "WebServiceWorkerContextClient.h" |
37 #include "bindings/v8/WorkerScriptController.h" | 37 #include "bindings/v8/WorkerScriptController.h" |
38 #include "core/dom/ExecutionContext.h" | 38 #include "core/dom/ExecutionContext.h" |
39 #include "core/dom/MessagePort.h" | 39 #include "core/dom/MessagePort.h" |
40 #include "core/events/MessageEvent.h" | 40 #include "core/events/MessageEvent.h" |
41 #include "core/events/ThreadLocalEventNames.h" | |
42 #include "core/workers/WorkerGlobalScope.h" | 41 #include "core/workers/WorkerGlobalScope.h" |
43 #include "modules/serviceworkers/FetchEvent.h" | 42 #include "modules/serviceworkers/FetchEvent.h" |
44 #include "modules/serviceworkers/InstallEvent.h" | 43 #include "modules/serviceworkers/InstallEvent.h" |
45 #include "modules/serviceworkers/WaitUntilObserver.h" | 44 #include "modules/serviceworkers/WaitUntilObserver.h" |
46 #include "platform/NotImplemented.h" | 45 #include "platform/NotImplemented.h" |
47 #include "wtf/Functional.h" | 46 #include "wtf/Functional.h" |
48 #include "wtf/PassOwnPtr.h" | 47 #include "wtf/PassOwnPtr.h" |
49 | 48 |
50 using namespace WebCore; | 49 using namespace WebCore; |
51 | 50 |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 | 125 |
127 ServiceWorkerGlobalScopeProxy::ServiceWorkerGlobalScopeProxy(WebEmbeddedWorkerIm
pl& embeddedWorker, ExecutionContext& executionContext, WebServiceWorkerContextC
lient& client) | 126 ServiceWorkerGlobalScopeProxy::ServiceWorkerGlobalScopeProxy(WebEmbeddedWorkerIm
pl& embeddedWorker, ExecutionContext& executionContext, WebServiceWorkerContextC
lient& client) |
128 : m_embeddedWorker(embeddedWorker) | 127 : m_embeddedWorker(embeddedWorker) |
129 , m_executionContext(executionContext) | 128 , m_executionContext(executionContext) |
130 , m_client(client) | 129 , m_client(client) |
131 , m_workerGlobalScope(0) | 130 , m_workerGlobalScope(0) |
132 { | 131 { |
133 } | 132 } |
134 | 133 |
135 } // namespace blink | 134 } // namespace blink |
OLD | NEW |