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

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

Issue 2167843004: Discardable property support on TabManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: change to auto-discardable Created 4 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 | « chrome/browser/memory/tab_manager_web_contents_data.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 c68f6d0661d92cebd0e375cf8e958c4e2cb0cada..c036f08d4c797891ed1f9b7d10dfa97c7aa76451 100644
--- a/chrome/browser/memory/tab_stats.h
+++ b/chrome/browser/memory/tab_stats.h
@@ -41,6 +41,7 @@ struct TabStats {
int oom_score;
#endif
int64_t tab_contents_id; // Unique ID per WebContents.
+ bool is_auto_discardable;
};
typedef std::vector<TabStats> TabStatsList;
« no previous file with comments | « chrome/browser/memory/tab_manager_web_contents_data.cc ('k') | chrome/browser/memory/tab_stats.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698