Chromium Code Reviews

Unified Diff: public/web/WebHeap.h

Issue 543603003: Oilpan: Expose Heap::collectGarbage to the web layer (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « Source/web/WebHeap.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebHeap.h
diff --git a/public/web/WebHeap.h b/public/web/WebHeap.h
index b8d01b3af2b514f86d2fea7a4044bb85a236d917..6f88417feb7a3893fb9eb13f272aff3272794c76 100644
--- a/public/web/WebHeap.h
+++ b/public/web/WebHeap.h
@@ -47,6 +47,11 @@ public:
BLINK_EXPORT SafePointScope();
BLINK_EXPORT ~SafePointScope();
};
+
+ // These APIs are only for testing purposes and should not be used
+ // outside of tests.
+ static void collectGarbageForTesting();
tkent 2014/09/09 06:45:04 Needs BLINK_EXPORT
haraken 2014/09/09 06:46:17 Done.
+ static void collectAllGarbageForTesting();
tkent 2014/09/09 06:45:04 Ditto.
};
} // namespace blink
« no previous file with comments | « Source/web/WebHeap.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine