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

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@ comments + fix tests. 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
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;

Powered by Google App Engine
This is Rietveld 408576698