OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
3 * Copyright (C) 2010 Apple Inc. All rights reserved. | 3 * Copyright (C) 2010 Apple Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
7 * met: | 7 * met: |
8 * | 8 * |
9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 15 matching lines...) Expand all Loading... |
26 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 26 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
30 */ | 30 */ |
31 | 31 |
32 #include "config.h" | 32 #include "config.h" |
33 | 33 |
34 #include "SharedWorker.h" | 34 #include "SharedWorker.h" |
35 | 35 |
36 #include "ExceptionCode.h" | |
37 #include "InspectorInstrumentation.h" | 36 #include "InspectorInstrumentation.h" |
38 #include "MessageChannel.h" | |
39 #include "MessagePort.h" | |
40 #include "ScriptExecutionContext.h" | |
41 #include "SharedWorkerRepository.h" | 37 #include "SharedWorkerRepository.h" |
| 38 #include "core/dom/ExceptionCode.h" |
| 39 #include "core/dom/MessageChannel.h" |
| 40 #include "core/dom/MessagePort.h" |
| 41 #include "core/dom/ScriptExecutionContext.h" |
42 #include "core/page/SecurityOrigin.h" | 42 #include "core/page/SecurityOrigin.h" |
43 #include "core/page/UseCounter.h" | 43 #include "core/page/UseCounter.h" |
44 #include "core/platform/KURL.h" | 44 #include "core/platform/KURL.h" |
45 | 45 |
46 namespace WebCore { | 46 namespace WebCore { |
47 | 47 |
48 inline SharedWorker::SharedWorker(ScriptExecutionContext* context) | 48 inline SharedWorker::SharedWorker(ScriptExecutionContext* context) |
49 : AbstractWorker(context) | 49 : AbstractWorker(context) |
50 { | 50 { |
51 } | 51 } |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 SharedWorker::~SharedWorker() | 84 SharedWorker::~SharedWorker() |
85 { | 85 { |
86 } | 86 } |
87 | 87 |
88 const AtomicString& SharedWorker::interfaceName() const | 88 const AtomicString& SharedWorker::interfaceName() const |
89 { | 89 { |
90 return eventNames().interfaceForSharedWorker; | 90 return eventNames().interfaceForSharedWorker; |
91 } | 91 } |
92 | 92 |
93 } // namespace WebCore | 93 } // namespace WebCore |
OLD | NEW |