[email protected] | f786717 | 2012-07-11 07:04:07 | [diff] [blame] | 1 | // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
[email protected] | 992db4c | 2011-05-12 15:37:15 | [diff] [blame] | 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_COMMON_SWAPPED_OUT_MESSAGES_H_ |
| 6 | #define CONTENT_COMMON_SWAPPED_OUT_MESSAGES_H_ |
[email protected] | 992db4c | 2011-05-12 15:37:15 | [diff] [blame] | 7 | |
| 8 | #include "ipc/ipc_message.h" |
| 9 | |
| 10 | namespace content { |
| 11 | |
| 12 | // Functions for filtering IPC messages sent from and received from a swapped |
| 13 | // out renderer. |
| 14 | class 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_ |