blob: c4b0649a7c6ca50159b59866bb2abd84bc3ff4a6 [file] [log] [blame]
[email protected]f7867172012-07-11 07:04:071// Copyright (c) 2012 The Chromium Authors. All rights reserved.
[email protected]992db4c2011-05-12 15:37:152// 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_COMMON_SWAPPED_OUT_MESSAGES_H_
6#define CONTENT_COMMON_SWAPPED_OUT_MESSAGES_H_
[email protected]992db4c2011-05-12 15:37:157
8#include "ipc/ipc_message.h"
9
10namespace content {
11
12// Functions for filtering IPC messages sent from and received from a swapped
13// out renderer.
14class SwappedOutMessages {
15 public:
16 static bool CanSendWhileSwappedOut(const IPC::Message* msg);
17 static bool CanHandleWhileSwappedOut(const IPC::Message& msg);
18};
19
20} // namespace content
21
22#endif // CONTENT_COMMON_SWAPPED_OUT_MESSAGES_H_