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

Unified Diff: content/public/browser/browser_thread.h

Issue 815183002: Using the new MemoryPressureListener instead of the LowMemoryObserver when the enhanced memory mana… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed Created 6 years 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: content/public/browser/browser_thread.h
diff --git a/content/public/browser/browser_thread.h b/content/public/browser/browser_thread.h
index 8daa0dbc916b501356734f8c73dbdc14275dd1b3..6d622873424887cef1366f739f0c9677dbcd24eb 100644
--- a/content/public/browser/browser_thread.h
+++ b/content/public/browser/browser_thread.h
@@ -20,6 +20,9 @@ namespace base {
class MessageLoop;
class SequencedWorkerPool;
class Thread;
+#if defined(OS_CHROMEOS)
+class MemoryPressureObserverChromeOS;
+#endif
}
namespace content {
@@ -152,6 +155,10 @@ class CONTENT_EXPORT BrowserThread {
from_here, object);
}
+#if defined(OS_CHROMEOS)
+ static base::MemoryPressureObserverChromeOS* GetMemoryPressureObserver();
+#endif
+
// Simplified wrappers for posting to the blocking thread pool. Use this
// for doing things like blocking I/O.
//

Powered by Google App Engine
This is Rietveld 408576698