Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(437)

Side by Side Diff: third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerLinkResource.cpp

Issue 2843503002: scheduler: Move WebFrameScheduler and WebScheduler into Blink (Closed)
Patch Set: Build fix Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 "bindings/core/v8/V8BindingForCore.h" 9 #include "bindings/core/v8/V8BindingForCore.h"
10 #include "core/dom/Document.h" 10 #include "core/dom/Document.h"
11 #include "core/frame/DOMWindow.h" 11 #include "core/frame/DOMWindow.h"
12 #include "core/frame/LocalFrame.h" 12 #include "core/frame/LocalFrame.h"
13 #include "core/frame/LocalFrameClient.h" 13 #include "core/frame/LocalFrameClient.h"
14 #include "core/html/HTMLLinkElement.h" 14 #include "core/html/HTMLLinkElement.h"
15 #include "core/inspector/ConsoleMessage.h" 15 #include "core/inspector/ConsoleMessage.h"
16 #include "modules/serviceworkers/NavigatorServiceWorker.h" 16 #include "modules/serviceworkers/NavigatorServiceWorker.h"
17 #include "modules/serviceworkers/ServiceWorkerContainer.h" 17 #include "modules/serviceworkers/ServiceWorkerContainer.h"
18 #include "platform/scheduler/child/web_scheduler.h"
18 #include "platform/wtf/PtrUtil.h" 19 #include "platform/wtf/PtrUtil.h"
19 #include "public/platform/Platform.h" 20 #include "public/platform/Platform.h"
20 #include "public/platform/WebScheduler.h"
21 21
22 namespace blink { 22 namespace blink {
23 23
24 namespace { 24 namespace {
25 25
26 class RegistrationCallback 26 class RegistrationCallback
27 : public WebServiceWorkerProvider::WebServiceWorkerRegistrationCallbacks { 27 : public WebServiceWorkerProvider::WebServiceWorkerRegistrationCallbacks {
28 public: 28 public:
29 explicit RegistrationCallback(LinkLoaderClient* client) : client_(client) {} 29 explicit RegistrationCallback(LinkLoaderClient* client) : client_(client) {}
30 ~RegistrationCallback() override {} 30 ~RegistrationCallback() override {}
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 } 107 }
108 108
109 void ServiceWorkerLinkResource::OwnerRemoved() { 109 void ServiceWorkerLinkResource::OwnerRemoved() {
110 Process(); 110 Process();
111 } 111 }
112 112
113 ServiceWorkerLinkResource::ServiceWorkerLinkResource(HTMLLinkElement* owner) 113 ServiceWorkerLinkResource::ServiceWorkerLinkResource(HTMLLinkElement* owner)
114 : LinkResource(owner) {} 114 : LinkResource(owner) {}
115 115
116 } // namespace blink 116 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698