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

Unified Diff: chrome/browser/memory/tab_stats.h

Issue 1641813002: Provide renderers with memory pressure signals. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@contentapi
Patch Set: Addressed creis' comments. Created 4 years, 11 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 | « chrome/browser/memory/tab_manager_unittest.cc ('k') | chrome/browser/memory/tab_stats.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/memory/tab_stats.h
diff --git a/chrome/browser/memory/tab_stats.h b/chrome/browser/memory/tab_stats.h
index 33a8a8b0b89884797a97e06869cc727ec4e388c1..8c6b48a35793aa566ea356d424c9809976b88325 100644
--- a/chrome/browser/memory/tab_stats.h
+++ b/chrome/browser/memory/tab_stats.h
@@ -14,6 +14,10 @@
#include "base/time/time.h"
#include "build/build_config.h"
+namespace content {
+class RenderProcessHost;
+} // namespace content
+
namespace memory {
struct TabStats {
@@ -28,6 +32,7 @@ struct TabStats {
bool has_form_entry; // User has entered text in a form.
int discard_count;
base::TimeTicks last_active;
+ content::RenderProcessHost* render_process_host;
base::ProcessHandle renderer_handle;
int child_process_host_id;
base::string16 title;
« no previous file with comments | « chrome/browser/memory/tab_manager_unittest.cc ('k') | chrome/browser/memory/tab_stats.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698