Index: net/proxy/proxy_resolver_v8.h |
diff --git a/net/proxy/proxy_resolver_v8.h b/net/proxy/proxy_resolver_v8.h |
index 3adc672a1ffebdb9db891e255f06fd25c704406a..3c3dadc0fc7528bd04538df14a40fde2e4ef2b85 100644 |
--- a/net/proxy/proxy_resolver_v8.h |
+++ b/net/proxy/proxy_resolver_v8.h |
@@ -11,6 +11,7 @@ |
#include "net/proxy/proxy_resolver.h" |
namespace v8 { |
+class HeapStatistics; |
class Isolate; |
} // namespace v8 |
@@ -95,6 +96,10 @@ class NET_EXPORT_PRIVATE ProxyResolverV8 : public ProxyResolver { |
static void RememberDefaultIsolate(); |
static v8::Isolate* GetDefaultIsolate(); |
+ // Get statistics for heap memory usage of all v8 instances used by the proxy |
+ // resolver. |
+ static void GetHeapStatistics(v8::HeapStatistics* heap_statistics); |
eroman
2013/03/05 00:40:45
Rather than filling a HeapStatistics, can you make
Sven Panne
2013/03/05 07:22:39
I would very much like to keep the API as it is un
|
+ |
private: |
static v8::Isolate* g_default_isolate_; |