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 "modules/ModulesExport.h" | 9 #include "modules/ModulesExport.h" |
10 #include "platform/Supplementable.h" | 10 #include "platform/Supplementable.h" |
(...skipping 19 matching lines...) Expand all Loading... |
30 | 30 |
31 DECLARE_VIRTUAL_TRACE(); | 31 DECLARE_VIRTUAL_TRACE(); |
32 | 32 |
33 private: | 33 private: |
34 explicit NavigatorServiceWorker(Navigator&); | 34 explicit NavigatorServiceWorker(Navigator&); |
35 ServiceWorkerContainer* serviceWorker(ExceptionState&); | 35 ServiceWorkerContainer* serviceWorker(ExceptionState&); |
36 | 36 |
37 static const char* supplementName(); | 37 static const char* supplementName(); |
38 | 38 |
39 // DOMWindowProperty override. | 39 // DOMWindowProperty override. |
40 virtual void willDetachGlobalObjectFromFrame() override; | 40 void willDetachGlobalObjectFromFrame() override; |
41 | 41 |
42 Member<ServiceWorkerContainer> m_serviceWorker; | 42 Member<ServiceWorkerContainer> m_serviceWorker; |
43 }; | 43 }; |
44 | 44 |
45 } // namespace blink | 45 } // namespace blink |
46 | 46 |
47 #endif // NavigatorServiceWorker_h | 47 #endif // NavigatorServiceWorker_h |
OLD | NEW |