| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 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 23 matching lines...) Expand all Loading... |
| 34 | 34 |
| 35 #include "SharedWorkerRepository.h" | 35 #include "SharedWorkerRepository.h" |
| 36 | 36 |
| 37 #include "ContentSecurityPolicy.h" | 37 #include "ContentSecurityPolicy.h" |
| 38 #include "Event.h" | 38 #include "Event.h" |
| 39 #include "EventNames.h" | 39 #include "EventNames.h" |
| 40 #include "ExceptionCode.h" | 40 #include "ExceptionCode.h" |
| 41 #include "InspectorInstrumentation.h" | 41 #include "InspectorInstrumentation.h" |
| 42 #include "MessagePortChannel.h" | 42 #include "MessagePortChannel.h" |
| 43 #include "PlatformMessagePortChannelChromium.h" | 43 #include "PlatformMessagePortChannelChromium.h" |
| 44 #include "ResourceResponse.h" | |
| 45 #include "ScriptExecutionContext.h" | 44 #include "ScriptExecutionContext.h" |
| 46 #include "SharedWorker.h" | 45 #include "SharedWorker.h" |
| 47 #include "WebContentSecurityPolicy.h" | 46 #include "WebContentSecurityPolicy.h" |
| 48 #include "WebFrameClient.h" | 47 #include "WebFrameClient.h" |
| 49 #include "WebFrameImpl.h" | 48 #include "WebFrameImpl.h" |
| 50 #include "WebKit.h" | 49 #include "WebKit.h" |
| 51 #include "WebSharedWorker.h" | 50 #include "WebSharedWorker.h" |
| 52 #include "WebSharedWorkerRepository.h" | 51 #include "WebSharedWorkerRepository.h" |
| 53 #include "WorkerScriptLoader.h" | 52 #include "WorkerScriptLoader.h" |
| 54 #include "WorkerScriptLoaderClient.h" | 53 #include "WorkerScriptLoaderClient.h" |
| 54 #include "core/platform/network/ResourceResponse.h" |
| 55 | 55 |
| 56 #include <public/Platform.h> | 56 #include <public/Platform.h> |
| 57 #include <public/WebMessagePortChannel.h> | 57 #include <public/WebMessagePortChannel.h> |
| 58 #include <public/WebString.h> | 58 #include <public/WebString.h> |
| 59 #include <public/WebURL.h> | 59 #include <public/WebURL.h> |
| 60 | 60 |
| 61 namespace WebKit { | 61 namespace WebKit { |
| 62 | 62 |
| 63 WebSharedWorkerRepository* s_sharedWorkerRepository = 0; | 63 WebSharedWorkerRepository* s_sharedWorkerRepository = 0; |
| 64 | 64 |
| (...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 264 bool SharedWorkerRepository::hasSharedWorkers(Document* document) | 264 bool SharedWorkerRepository::hasSharedWorkers(Document* document) |
| 265 { | 265 { |
| 266 WebKit::WebSharedWorkerRepository* repository = WebKit::sharedWorkerReposito
ry(); | 266 WebKit::WebSharedWorkerRepository* repository = WebKit::sharedWorkerReposito
ry(); |
| 267 | 267 |
| 268 return repository && repository->hasSharedWorkers(getId(document)); | 268 return repository && repository->hasSharedWorkers(getId(document)); |
| 269 } | 269 } |
| 270 | 270 |
| 271 } // namespace WebCore | 271 } // namespace WebCore |
| 272 | 272 |
| 273 #endif // ENABLE(SHARED_WORKERS) | 273 #endif // ENABLE(SHARED_WORKERS) |
| OLD | NEW |