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

Unified Diff: content/child/memory/child_memory_message_filter.h

Issue 2882513004: Remove renderer notifications of memory pressure. (Closed)
Patch Set: Merge Created 3 years, 7 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 | « content/child/child_thread_impl.cc ('k') | content/child/memory/child_memory_message_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/memory/child_memory_message_filter.h
diff --git a/content/child/memory/child_memory_message_filter.h b/content/child/memory/child_memory_message_filter.h
deleted file mode 100644
index de9c3b5f6742ca01f02e7c6b59a75cd6cb12b6b7..0000000000000000000000000000000000000000
--- a/content/child/memory/child_memory_message_filter.h
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CONTENT_CHILD_MEMORY_CHILD_MEMORY_MESSAGE_FILTER_H_
-#define CONTENT_CHILD_MEMORY_CHILD_MEMORY_MESSAGE_FILTER_H_
-
-#include "base/macros.h"
-#include "base/memory/memory_pressure_listener.h"
-#include "ipc/message_filter.h"
-
-namespace content {
-
-// This class receives memory messages in child processes.
-// See also: memory_message_filter.h
-class ChildMemoryMessageFilter : public IPC::MessageFilter {
- public:
- ChildMemoryMessageFilter();
-
- // IPC::MessageFilter implementation.
- bool OnMessageReceived(const IPC::Message& message) override;
-
- protected:
- ~ChildMemoryMessageFilter() override;
-
- private:
- void OnSetPressureNotificationsSuppressed(bool suppressed);
- void OnSimulatePressureNotification(
- base::MemoryPressureListener::MemoryPressureLevel level);
- void OnPressureNotification(
- base::MemoryPressureListener::MemoryPressureLevel level);
-
- DISALLOW_COPY_AND_ASSIGN(ChildMemoryMessageFilter);
-};
-
-} // namespace content
-
-#endif // CONTENT_CHILD_MEMORY_CHILD_MEMORY_MESSAGE_FILTER_H_
« no previous file with comments | « content/child/child_thread_impl.cc ('k') | content/child/memory/child_memory_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698