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

Unified Diff: content/renderer/render_thread_impl.h

Issue 380603002: Update Memory.RendererUsed only after Blink is initialized (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove observer at exit Created 6 years, 5 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 | « no previous file | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_thread_impl.h
diff --git a/content/renderer/render_thread_impl.h b/content/renderer/render_thread_impl.h
index 3bc7f9dc887ef8e135bdc1605eab2820c33b6e6e..5a679b764d4dbc302ddb8c719df8d766b26ba46b 100644
--- a/content/renderer/render_thread_impl.h
+++ b/content/renderer/render_thread_impl.h
@@ -89,6 +89,7 @@ class IndexedDBDispatcher;
class InputEventFilter;
class InputHandlerManager;
class MediaStreamCenter;
+class MemoryObserver;
class PeerConnectionDependencyFactory;
class MidiMessageFilter;
class NetInfoDispatcher;
@@ -567,6 +568,8 @@ class CONTENT_EXPORT RenderThreadImpl : public RenderThread,
// backed GpuMemoryBuffers prevent this. crbug.com/325045
base::ThreadChecker allocate_gpu_memory_buffer_thread_checker_;
+ scoped_ptr<MemoryObserver> memory_observer_;
+
// Compositor settings
bool is_gpu_rasterization_enabled_;
bool is_gpu_rasterization_forced_;
« no previous file with comments | « no previous file | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698