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 "core/dom/Document.h" | 7 #include "core/dom/Document.h" |
| 8 #include "core/frame/DOMWindow.h" |
8 #include "core/frame/LocalFrame.h" | 9 #include "core/frame/LocalFrame.h" |
9 #include "core/html/HTMLLinkElement.h" | 10 #include "core/html/HTMLLinkElement.h" |
10 #include "core/loader/FrameLoaderClient.h" | 11 #include "core/loader/FrameLoaderClient.h" |
11 #include "modules/serviceworkers/NavigatorServiceWorker.h" | 12 #include "modules/serviceworkers/NavigatorServiceWorker.h" |
12 #include "modules/serviceworkers/ServiceWorkerContainer.h" | 13 #include "modules/serviceworkers/ServiceWorkerContainer.h" |
13 #include "public/platform/Platform.h" | 14 #include "public/platform/Platform.h" |
14 #include "public/platform/WebScheduler.h" | 15 #include "public/platform/WebScheduler.h" |
15 | 16 |
16 namespace blink { | 17 namespace blink { |
17 | 18 |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 { | 84 { |
84 process(); | 85 process(); |
85 } | 86 } |
86 | 87 |
87 ServiceWorkerLinkResource::ServiceWorkerLinkResource(HTMLLinkElement* owner) | 88 ServiceWorkerLinkResource::ServiceWorkerLinkResource(HTMLLinkElement* owner) |
88 : LinkResource(owner) | 89 : LinkResource(owner) |
89 { | 90 { |
90 } | 91 } |
91 | 92 |
92 } // namespace blink | 93 } // namespace blink |
OLD | NEW |