| Index: content/browser/memory/memory_monitor.h
|
| diff --git a/content/browser/memory/memory_monitor.h b/content/browser/memory/memory_monitor.h
|
| index a9d0f211fe24e83466b31b8113ba51a8119b7f52..17bb0f14f97e1f9bb7502ca253305d2390373235 100644
|
| --- a/content/browser/memory/memory_monitor.h
|
| +++ b/content/browser/memory/memory_monitor.h
|
| @@ -51,6 +51,11 @@ class CONTENT_EXPORT MemoryMonitorDelegate {
|
| // Returns system memory information.
|
| virtual void GetSystemMemoryInfo(base::SystemMemoryInfoKB* mem_info);
|
|
|
| + // Gets the system memory-pressure information. Returns true if successful
|
| + // or false otherwise. The meaning of the returned integer is very much
|
| + // OS specific.
|
| + virtual bool GetSystemMemoryPressure(int* mem_pressure);
|
| +
|
| private:
|
| friend struct base::DefaultSingletonTraits<MemoryMonitorDelegate>;
|
|
|
|
|