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

Side by Side Diff: Source/core/storage/DOMWindowStorageController.h

Issue 810623004: Oilpan: fix build after r187279. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: compile fix Created 6 years 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
« no previous file with comments | « no previous file | Source/core/storage/DOMWindowStorageController.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 DOMWindowStorageController_h 5 #ifndef DOMWindowStorageController_h
6 #define DOMWindowStorageController_h 6 #define DOMWindowStorageController_h
7 7
8 #include "core/frame/DOMWindowLifecycleObserver.h" 8 #include "core/frame/DOMWindowLifecycleObserver.h"
9 #include "platform/Supplementable.h" 9 #include "platform/Supplementable.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 Document; 14 class Document;
15 class Event; 15 class Event;
16 16
17 class DOMWindowStorageController : public NoBaseWillBeGarbageCollectedFinalized< DOMWindowStorageController>, public WillBeHeapSupplement<Document>, public DOMWi ndowLifecycleObserver { 17 class DOMWindowStorageController final : public NoBaseWillBeGarbageCollectedFina lized<DOMWindowStorageController>, public WillBeHeapSupplement<Document>, public DOMWindowLifecycleObserver {
18 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(DOMWindowStorageController); 18 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(DOMWindowStorageController);
19 public: 19 public:
20 virtual ~DOMWindowStorageController(); 20 virtual ~DOMWindowStorageController();
21 virtual void trace(Visitor*);
21 22
22 static const char* supplementName(); 23 static const char* supplementName();
23 static DOMWindowStorageController& from(Document&); 24 static DOMWindowStorageController& from(Document&);
24 25
25 // Inherited from DOMWindowLifecycleObserver 26 // Inherited from DOMWindowLifecycleObserver
26 virtual void didAddEventListener(LocalDOMWindow*, const AtomicString&) overr ide; 27 virtual void didAddEventListener(LocalDOMWindow*, const AtomicString&) overr ide;
27 28
28 protected: 29 protected:
29 explicit DOMWindowStorageController(Document&); 30 explicit DOMWindowStorageController(Document&);
30 31
31 private: 32 private:
32 Document& document() const { return *m_document; } 33 Document& document() const { return *m_document; }
33 34
34 RawPtrWillBeMember<Document> m_document; 35 RawPtrWillBeMember<Document> m_document;
35 }; 36 };
36 37
37 } // namespace blink 38 } // namespace blink
38 39
39 #endif // DOMWindowStorageController_h 40 #endif // DOMWindowStorageController_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/storage/DOMWindowStorageController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698