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

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

Issue 2848243004: Clean up bindings/core/v8 (Part 2) (Closed)
Patch Set: Rebase 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 #ifndef NavigationPreloadManager_h 5 #ifndef NavigationPreloadManager_h
6 #define NavigationPreloadManager_h 6 #define NavigationPreloadManager_h
7 7
8 #include "bindings/core/v8/ScriptPromise.h" 8 #include "bindings/core/v8/ScriptPromise.h"
9 #include "bindings/core/v8/ScriptWrappable.h" 9 #include "platform/bindings/ScriptWrappable.h"
10 #include "platform/heap/Handle.h" 10 #include "platform/heap/Handle.h"
11 11
12 namespace blink { 12 namespace blink {
13 13
14 class ServiceWorkerRegistration; 14 class ServiceWorkerRegistration;
15 15
16 class NavigationPreloadManager final 16 class NavigationPreloadManager final
17 : public GarbageCollected<NavigationPreloadManager>, 17 : public GarbageCollected<NavigationPreloadManager>,
18 public ScriptWrappable { 18 public ScriptWrappable {
19 DEFINE_WRAPPERTYPEINFO(); 19 DEFINE_WRAPPERTYPEINFO();
(...skipping 15 matching lines...) Expand all
35 explicit NavigationPreloadManager(ServiceWorkerRegistration*); 35 explicit NavigationPreloadManager(ServiceWorkerRegistration*);
36 36
37 ScriptPromise SetEnabled(bool enable, ScriptState*); 37 ScriptPromise SetEnabled(bool enable, ScriptState*);
38 38
39 Member<ServiceWorkerRegistration> registration_; 39 Member<ServiceWorkerRegistration> registration_;
40 }; 40 };
41 41
42 } // namespace blink 42 } // namespace blink
43 43
44 #endif // NavigationPreloadManager_h 44 #endif // NavigationPreloadManager_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698