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

Side by Side Diff: third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerRegistration.h

Issue 2848963002: Clean up bindings/core/v8 (Part 1) (Closed)
Patch Set: Fix build 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef ServiceWorkerRegistration_h 5 #ifndef ServiceWorkerRegistration_h
6 #define ServiceWorkerRegistration_h 6 #define ServiceWorkerRegistration_h
7 7
8 #include <memory> 8 #include <memory>
9 #include "bindings/core/v8/ActiveScriptWrappable.h"
10 #include "bindings/core/v8/ScriptPromiseResolver.h" 9 #include "bindings/core/v8/ScriptPromiseResolver.h"
11 #include "core/dom/ContextLifecycleObserver.h" 10 #include "core/dom/ContextLifecycleObserver.h"
12 #include "core/events/EventTarget.h" 11 #include "core/events/EventTarget.h"
13 #include "modules/serviceworkers/NavigationPreloadManager.h" 12 #include "modules/serviceworkers/NavigationPreloadManager.h"
14 #include "modules/serviceworkers/ServiceWorker.h" 13 #include "modules/serviceworkers/ServiceWorker.h"
15 #include "modules/serviceworkers/ServiceWorkerRegistration.h" 14 #include "modules/serviceworkers/ServiceWorkerRegistration.h"
16 #include "platform/Supplementable.h" 15 #include "platform/Supplementable.h"
16 #include "platform/bindings/ActiveScriptWrappable.h"
17 #include "platform/wtf/Forward.h" 17 #include "platform/wtf/Forward.h"
18 #include "public/platform/modules/serviceworker/WebServiceWorkerRegistration.h" 18 #include "public/platform/modules/serviceworker/WebServiceWorkerRegistration.h"
19 #include "public/platform/modules/serviceworker/WebServiceWorkerRegistrationProx y.h" 19 #include "public/platform/modules/serviceworker/WebServiceWorkerRegistrationProx y.h"
20 20
21 namespace blink { 21 namespace blink {
22 22
23 class ScriptPromise; 23 class ScriptPromise;
24 class ScriptState; 24 class ScriptState;
25 25
26 // The implementation of a service worker registration object in Blink. Actual 26 // The implementation of a service worker registration object in Blink. Actual
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 registrations.push_back( 119 registrations.push_back(
120 ServiceWorkerRegistration::Take(resolver, std::move(registration))); 120 ServiceWorkerRegistration::Take(resolver, std::move(registration)));
121 } 121 }
122 return registrations; 122 return registrations;
123 } 123 }
124 }; 124 };
125 125
126 } // namespace blink 126 } // namespace blink
127 127
128 #endif // ServiceWorkerRegistration_h 128 #endif // ServiceWorkerRegistration_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698