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

Unified Diff: Source/wtf/WTF.h

Issue 1183763003: Remove ArrayBufferDeallocationObserver (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: s_ prefix Created 5 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/wtf/ArrayBufferDeallocationObserver.h ('k') | Source/wtf/WTF.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/WTF.h
diff --git a/Source/wtf/WTF.h b/Source/wtf/WTF.h
index c62e9eddf89fbe873eace740b1e0ff77e458f777..4f5454972df7c2c9c5a98d33d72319d63b856a77 100644
--- a/Source/wtf/WTF.h
+++ b/Source/wtf/WTF.h
@@ -38,9 +38,10 @@
namespace WTF {
typedef void(*HistogramEnumerationFunction)(const char* name, int sample, int boundaryValue);
+typedef void(*AdjustAmountOfExternalAllocatedMemoryFunction)(int size);
// This function must be called exactly once from the main thread before using anything else in WTF.
-WTF_EXPORT void initialize(TimeFunction currentTimeFunction, TimeFunction monotonicallyIncreasingTimeFunction, TimeFunction systemTraceTimeFunction, HistogramEnumerationFunction);
+WTF_EXPORT void initialize(TimeFunction currentTimeFunction, TimeFunction monotonicallyIncreasingTimeFunction, TimeFunction systemTraceTimeFunction, HistogramEnumerationFunction, AdjustAmountOfExternalAllocatedMemoryFunction);
WTF_EXPORT void shutdown();
WTF_EXPORT bool isShutdown();
« no previous file with comments | « Source/wtf/ArrayBufferDeallocationObserver.h ('k') | Source/wtf/WTF.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698