| 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 DOMWindowStorageController_h | 5 #ifndef DOMWindowStorageController_h |
| 6 #define DOMWindowStorageController_h | 6 #define DOMWindowStorageController_h |
| 7 | 7 |
| 8 #include "core/dom/Document.h" |
| 8 #include "core/frame/DOMWindowLifecycleObserver.h" | 9 #include "core/frame/DOMWindowLifecycleObserver.h" |
| 9 #include "platform/Supplementable.h" | 10 #include "platform/Supplementable.h" |
| 10 #include "platform/heap/Handle.h" | 11 #include "platform/heap/Handle.h" |
| 11 | 12 |
| 12 namespace blink { | 13 namespace blink { |
| 13 | 14 |
| 14 class Document; | 15 class Document; |
| 15 class Event; | 16 class Event; |
| 16 | 17 |
| 17 class DOMWindowStorageController final : public NoBaseWillBeGarbageCollectedFina
lized<DOMWindowStorageController>, public WillBeHeapSupplement<Document>, public
DOMWindowLifecycleObserver { | 18 class DOMWindowStorageController final : public NoBaseWillBeGarbageCollectedFina
lized<DOMWindowStorageController>, public WillBeHeapSupplement<Document>, public
DOMWindowLifecycleObserver { |
| (...skipping 13 matching lines...) Expand all Loading... |
| 31 | 32 |
| 32 private: | 33 private: |
| 33 Document& document() const { return *m_document; } | 34 Document& document() const { return *m_document; } |
| 34 | 35 |
| 35 RawPtrWillBeMember<Document> m_document; | 36 RawPtrWillBeMember<Document> m_document; |
| 36 }; | 37 }; |
| 37 | 38 |
| 38 } // namespace blink | 39 } // namespace blink |
| 39 | 40 |
| 40 #endif // DOMWindowStorageController_h | 41 #endif // DOMWindowStorageController_h |
| OLD | NEW |