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

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: remove unused sudden_termination flag 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/oom_priority_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..718af638f587522f4517e510073f165578271010 100644
--- a/chrome/browser/chromeos/oom_priority_manager.h
+++ b/chrome/browser/chromeos/oom_priority_manager.h
@@ -63,10 +63,10 @@ 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;
- bool sudden_termination_allowed;
base::TimeTicks last_selected;
base::ProcessHandle renderer_handle;
string16 title;
« no previous file with comments | « no previous file | chrome/browser/chromeos/oom_priority_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698