Index: content/browser/memory/memory_message_filter.h |
diff --git a/content/browser/memory/memory_message_filter.h b/content/browser/memory/memory_message_filter.h |
index 122a7aa9cec2035bb92978ddaea51c6a2d3c38ba..5610867c7ebbe3f3fad546ab9626a827f09224c2 100644 |
--- a/content/browser/memory/memory_message_filter.h |
+++ b/content/browser/memory/memory_message_filter.h |
@@ -5,11 +5,14 @@ |
#ifndef CONTENT_BROWSER_MEMORY_MEMORY_MESSAGE_FILTER_H_ |
#define CONTENT_BROWSER_MEMORY_MEMORY_MESSAGE_FILTER_H_ |
+#include "base/memory/memory_pressure_listener.h" |
#include "content/common/content_export.h" |
#include "content/public/browser/browser_message_filter.h" |
namespace content { |
+using MemoryPressureLevel = base::MemoryPressureListener::MemoryPressureLevel; |
+ |
Primiano Tucci (use gerrit)
2015/09/28 12:47:31
are you doing this just to avoid wrapping the line
petrcermak
2015/09/28 15:39:32
Done.
|
// This class sends memory messages from the browser process. |
// See also: child_memory_message_filter.h |
class CONTENT_EXPORT MemoryMessageFilter : public BrowserMessageFilter { |
@@ -22,6 +25,7 @@ class CONTENT_EXPORT MemoryMessageFilter : public BrowserMessageFilter { |
bool OnMessageReceived(const IPC::Message& message) override; |
void SendSetPressureNotificationsSuppressed(bool suppressed); |
+ void SendSimulatePressureNotification(MemoryPressureLevel level); |
protected: |
~MemoryMessageFilter() override; |