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

Side by Side Diff: tools/clang/blink_gc_plugin/Edge.h

Issue 988693005: Chromium roll (https://codereview.chromium.org/976353002) (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: fixed bad android build patch Created 5 years, 9 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
« no previous file with comments | « tools/clang/blink_gc_plugin/Config.h ('k') | tools/clang/blink_gc_plugin/RecordInfo.h » ('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 TOOLS_BLINK_GC_PLUGIN_EDGE_H_ 5 #ifndef TOOLS_BLINK_GC_PLUGIN_EDGE_H_
6 #define TOOLS_BLINK_GC_PLUGIN_EDGE_H_ 6 #define TOOLS_BLINK_GC_PLUGIN_EDGE_H_
7 7
8 #include <deque> 8 #include <deque>
9 9
10 #include "TracingStatus.h" 10 #include "TracingStatus.h"
11 11
12 class RecordInfo; 12 class RecordInfo;
13 13
14 class Edge; 14 class Edge;
15 class Value; 15 class Value;
16 class RawPtr; 16 class RawPtr;
17 class RefPtr; 17 class RefPtr;
18 class OwnPtr; 18 class OwnPtr;
19 class Member; 19 class Member;
20 class WeakMember; 20 class WeakMember;
21 class Persistent; 21 class Persistent;
22 class Collection; 22 class Collection;
23 23
24 // Bare-bones visitor. 24 // Bare-bones visitor.
25 class EdgeVisitor { 25 class EdgeVisitor {
26 public: 26 public:
27 virtual ~EdgeVisitor() {}
27 virtual void VisitValue(Value*) {} 28 virtual void VisitValue(Value*) {}
28 virtual void VisitRawPtr(RawPtr*) {} 29 virtual void VisitRawPtr(RawPtr*) {}
29 virtual void VisitRefPtr(RefPtr*) {} 30 virtual void VisitRefPtr(RefPtr*) {}
30 virtual void VisitOwnPtr(OwnPtr*) {} 31 virtual void VisitOwnPtr(OwnPtr*) {}
31 virtual void VisitMember(Member*) {} 32 virtual void VisitMember(Member*) {}
32 virtual void VisitWeakMember(WeakMember*) {} 33 virtual void VisitWeakMember(WeakMember*) {}
33 virtual void VisitPersistent(Persistent*) {} 34 virtual void VisitPersistent(Persistent*) {}
34 virtual void VisitCollection(Collection*) {} 35 virtual void VisitCollection(Collection*) {}
35 }; 36 };
36 37
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 } 237 }
237 238
238 private: 239 private:
239 RecordInfo* info_; 240 RecordInfo* info_;
240 Members members_; 241 Members members_;
241 bool on_heap_; 242 bool on_heap_;
242 bool is_root_; 243 bool is_root_;
243 }; 244 };
244 245
245 #endif // TOOLS_BLINK_GC_PLUGIN_EDGE_H_ 246 #endif // TOOLS_BLINK_GC_PLUGIN_EDGE_H_
OLDNEW
« no previous file with comments | « tools/clang/blink_gc_plugin/Config.h ('k') | tools/clang/blink_gc_plugin/RecordInfo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698