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

Unified Diff: content/common/memory_messages.h

Issue 1332583002: Architecture for cross-process memory notification suppressing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unnecessary includes Created 5 years, 3 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
Index: content/common/memory_messages.h
diff --git a/content/common/memory_messages.h b/content/common/memory_messages.h
new file mode 100644
index 0000000000000000000000000000000000000000..a328ba2513a4752ba78796d7c3eaa5cab69fe57e
--- /dev/null
+++ b/content/common/memory_messages.h
@@ -0,0 +1,14 @@
+// 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.
+
nasko 2015/09/16 21:18:37 Some comment describing what types of messages bel
petrcermak 2015/09/17 15:24:53 Done.
+// Multiply-included message header, no traditional include guard.
+
+#include "ipc/ipc_message_macros.h"
+
+#define IPC_MESSAGE_START MemoryMsgStart
+
+// Sent to all child processes to enable/disable suppressing memory
+// notifications.
+IPC_MESSAGE_CONTROL1(MemoryMsg_SetPressureNotificationsSuppressed,
+ bool /* suppressed */)

Powered by Google App Engine
This is Rietveld 408576698