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

Side by Side Diff: content/child/memory/child_memory_message_filter.h

Issue 1332583002: Architecture for cross-process memory notification suppressing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add comment explaining the use of scoped_ptr in the browser test matcher Created 5 years, 2 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_CHILD_MEMORY_CHILD_MEMORY_MESSAGE_FILTER_H_
6 #define CONTENT_CHILD_MEMORY_CHILD_MEMORY_MESSAGE_FILTER_H_
7
8 #include "ipc/message_filter.h"
9
10 namespace content {
11
12 // This class receives memory messages in child processes.
13 // See also: memory_message_filter.h
14 class ChildMemoryMessageFilter : public IPC::MessageFilter {
15 public:
16 ChildMemoryMessageFilter();
17
18 // IPC::MessageFilter implementation.
19 bool OnMessageReceived(const IPC::Message& message) override;
20
21 protected:
22 ~ChildMemoryMessageFilter() override;
23
24 private:
25 void OnSetPressureNotificationsSuppressed(bool suppressed);
26
27 DISALLOW_COPY_AND_ASSIGN(ChildMemoryMessageFilter);
28 };
29
30 } // namespace content
31
32 #endif // CONTENT_CHILD_MEMORY_CHILD_MEMORY_MESSAGE_FILTER_H_
OLDNEW
« 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