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

Unified Diff: chrome/browser/chromeos/oom_priority_manager.h

Issue 10860023: cros: Protect app windows from out-of-memory kills (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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/chromeos/oom_priority_manager.h
diff --git a/chrome/browser/chromeos/oom_priority_manager.h b/chrome/browser/chromeos/oom_priority_manager.h
index adc44938457a72ee2822fd9c6477917d4a742f66..50ff003b53144dfc7bd9d1f50935cd839dc481e2 100644
--- a/chrome/browser/chromeos/oom_priority_manager.h
+++ b/chrome/browser/chromeos/oom_priority_manager.h
@@ -63,6 +63,7 @@ class OomPriorityManager : public content::NotificationObserver {
struct TabStats {
TabStats();
~TabStats();
+ bool is_app; // browser window is an app
bool is_pinned;
bool is_selected; // selected in the currently active browser window
bool is_discarded;
« no previous file with comments | « no previous file | chrome/browser/chromeos/oom_priority_manager.cc » ('j') | chrome/browser/chromeos/oom_priority_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698