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

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

Issue 1332003002: Add option to disallow the discarding of a tab that was previously discarded. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sky@ and rkaplow@ comments. Created 5 years, 3 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/oom_priority_manager_browsertest.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 aa49e50e5b766531f778180a22de919b3fbea3d3..dcc979d7beeb88a46259c496894ec678f0ea58f9 100644
--- a/chrome/browser/memory/tab_stats.h
+++ b/chrome/browser/memory/tab_stats.h
@@ -22,6 +22,7 @@ struct TabStats {
bool is_pinned;
bool is_selected; // Selected in the currently active browser window.
bool is_discarded;
+ int discard_count;
base::TimeTicks last_active;
base::ProcessHandle renderer_handle;
int child_process_host_id;
« no previous file with comments | « chrome/browser/memory/oom_priority_manager_browsertest.cc ('k') | chrome/browser/memory/tab_stats.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698