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

Side by Side Diff: Source/platform/heap/Heap.h

Issue 644913009: Clean up forward declarations in Source/platform (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month 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 | « Source/platform/graphics/ImageFrameGenerator.h ('k') | Source/platform/text/TextRun.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 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 enum CallbackInvocationMode { 113 enum CallbackInvocationMode {
114 GlobalMarking, 114 GlobalMarking,
115 ThreadLocalMarking, 115 ThreadLocalMarking,
116 }; 116 };
117 117
118 class CallbackStack; 118 class CallbackStack;
119 class HeapStats; 119 class HeapStats;
120 class PageMemory; 120 class PageMemory;
121 template<ThreadAffinity affinity> class ThreadLocalPersistents; 121 template<ThreadAffinity affinity> class ThreadLocalPersistents;
122 template<typename T, typename RootsAccessor = ThreadLocalPersistents<ThreadingTr ait<T>::Affinity > > class Persistent; 122 template<typename T, typename RootsAccessor = ThreadLocalPersistents<ThreadingTr ait<T>::Affinity > > class Persistent;
123 template<typename T> class CrossThreadPersistent;
124 123
125 #if ENABLE(GC_PROFILE_HEAP) 124 #if ENABLE(GC_PROFILE_HEAP)
126 class TracedValue; 125 class TracedValue;
127 #endif 126 #endif
128 127
129 PLATFORM_EXPORT size_t osPageSize(); 128 PLATFORM_EXPORT size_t osPageSize();
130 129
131 // Blink heap pages are set up with a guard page before and after the 130 // Blink heap pages are set up with a guard page before and after the
132 // payload. 131 // payload.
133 inline size_t blinkPagePayloadSize() 132 inline size_t blinkPagePayloadSize()
(...skipping 2265 matching lines...) Expand 10 before | Expand all | Expand 10 after
2399 }; 2398 };
2400 2399
2401 template<typename T> 2400 template<typename T>
2402 struct IfWeakMember<WeakMember<T> > { 2401 struct IfWeakMember<WeakMember<T> > {
2403 static bool isDead(Visitor* visitor, const WeakMember<T>& t) { return !visit or->isAlive(t.get()); } 2402 static bool isDead(Visitor* visitor, const WeakMember<T>& t) { return !visit or->isAlive(t.get()); }
2404 }; 2403 };
2405 2404
2406 } 2405 }
2407 2406
2408 #endif // Heap_h 2407 #endif // Heap_h
OLDNEW
« no previous file with comments | « Source/platform/graphics/ImageFrameGenerator.h ('k') | Source/platform/text/TextRun.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698