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

Unified Diff: net/proxy/proxy_resolver_v8.h

Issue 12398007: Replaced deprecated v8 API calls by their non-deprecated counterparts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed first round of feedback Created 7 years, 10 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
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_;

Powered by Google App Engine
This is Rietveld 408576698