OLD | NEW |
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 NavigatorServiceWorker_h | 5 #ifndef NavigatorServiceWorker_h |
6 #define NavigatorServiceWorker_h | 6 #define NavigatorServiceWorker_h |
7 | 7 |
8 #include "core/frame/Navigator.h" | 8 #include "core/frame/Navigator.h" |
9 #include "platform/Supplementable.h" | 9 #include "platform/Supplementable.h" |
10 #include "platform/heap/Handle.h" | 10 #include "platform/heap/Handle.h" |
(...skipping 17 matching lines...) Expand all Loading... |
28 | 28 |
29 virtual void trace(Visitor*) OVERRIDE; | 29 virtual void trace(Visitor*) OVERRIDE; |
30 | 30 |
31 private: | 31 private: |
32 explicit NavigatorServiceWorker(Navigator&); | 32 explicit NavigatorServiceWorker(Navigator&); |
33 ServiceWorkerContainer* serviceWorker(); | 33 ServiceWorkerContainer* serviceWorker(); |
34 | 34 |
35 // DOMWindowProperty override. | 35 // DOMWindowProperty override. |
36 virtual void willDetachGlobalObjectFromFrame() OVERRIDE; | 36 virtual void willDetachGlobalObjectFromFrame() OVERRIDE; |
37 | 37 |
38 RefPtrWillBeMember<ServiceWorkerContainer> m_serviceWorker; | 38 PersistentWillBeMember<ServiceWorkerContainer> m_serviceWorker; |
39 }; | 39 }; |
40 | 40 |
41 } // namespace blink | 41 } // namespace blink |
42 | 42 |
43 #endif // NavigatorServiceWorker_h | 43 #endif // NavigatorServiceWorker_h |
OLD | NEW |