| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "modules/serviceworkers/ServiceWorkerLinkResource.h" | 5 #include "modules/serviceworkers/ServiceWorkerLinkResource.h" |
| 6 | 6 |
| 7 #include "bindings/core/v8/ExceptionState.h" | 7 #include "bindings/core/v8/ExceptionState.h" |
| 8 #include "bindings/core/v8/ScriptState.h" | 8 #include "bindings/core/v8/ScriptState.h" |
| 9 #include "core/dom/Document.h" | 9 #include "core/dom/Document.h" |
| 10 #include "core/frame/DOMWindow.h" | 10 #include "core/frame/DOMWindow.h" |
| 11 #include "core/frame/LocalFrame.h" | 11 #include "core/frame/LocalFrame.h" |
| 12 #include "core/frame/LocalFrameClient.h" |
| 12 #include "core/html/HTMLLinkElement.h" | 13 #include "core/html/HTMLLinkElement.h" |
| 13 #include "core/inspector/ConsoleMessage.h" | 14 #include "core/inspector/ConsoleMessage.h" |
| 14 #include "core/loader/FrameLoaderClient.h" | |
| 15 #include "modules/serviceworkers/NavigatorServiceWorker.h" | 15 #include "modules/serviceworkers/NavigatorServiceWorker.h" |
| 16 #include "modules/serviceworkers/ServiceWorkerContainer.h" | 16 #include "modules/serviceworkers/ServiceWorkerContainer.h" |
| 17 #include "public/platform/Platform.h" | 17 #include "public/platform/Platform.h" |
| 18 #include "public/platform/WebScheduler.h" | 18 #include "public/platform/WebScheduler.h" |
| 19 #include "wtf/PtrUtil.h" | 19 #include "wtf/PtrUtil.h" |
| 20 | 20 |
| 21 namespace blink { | 21 namespace blink { |
| 22 | 22 |
| 23 namespace { | 23 namespace { |
| 24 | 24 |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 } | 105 } |
| 106 | 106 |
| 107 void ServiceWorkerLinkResource::ownerRemoved() { | 107 void ServiceWorkerLinkResource::ownerRemoved() { |
| 108 process(); | 108 process(); |
| 109 } | 109 } |
| 110 | 110 |
| 111 ServiceWorkerLinkResource::ServiceWorkerLinkResource(HTMLLinkElement* owner) | 111 ServiceWorkerLinkResource::ServiceWorkerLinkResource(HTMLLinkElement* owner) |
| 112 : LinkResource(owner) {} | 112 : LinkResource(owner) {} |
| 113 | 113 |
| 114 } // namespace blink | 114 } // namespace blink |
| OLD | NEW |