| 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..a81eaf871491fb2e8bbf1af62e69dcaca94afd3d
|
| --- /dev/null
|
| +++ b/content/common/memory_messages.h
|
| @@ -0,0 +1,22 @@
|
| +// 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.
|
| +
|
| +// This file contains IPC messages for controlling memory pressure handling
|
| +// in child processes for the purposes of enforcing consistent conditions
|
| +// across memory measurements.
|
| +
|
| +// Multiply-included message header, no traditional include guard.
|
| +
|
| +#include "ipc/ipc_message_macros.h"
|
| +#include "content/common/content_export.h"
|
| +
|
| +#undef IPC_MESSAGE_EXPORT
|
| +#define IPC_MESSAGE_EXPORT CONTENT_EXPORT
|
| +
|
| +#define IPC_MESSAGE_START MemoryMsgStart
|
| +
|
| +// Sent to all child processes to enable/disable suppressing memory
|
| +// notifications.
|
| +IPC_MESSAGE_CONTROL1(MemoryMsg_SetPressureNotificationsSuppressed,
|
| + bool /* suppressed */)
|
|
|