Update V8 to version 4.6.72.
[chromium-blink-merge.git] / content / common / swapped_out_messages.h
blobc4b0649a7c6ca50159b59866bb2abd84bc3ff4a6
1 // Copyright (c) 2012 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.
5 #ifndef CONTENT_COMMON_SWAPPED_OUT_MESSAGES_H_
6 #define CONTENT_COMMON_SWAPPED_OUT_MESSAGES_H_
8 #include "ipc/ipc_message.h"
10 namespace content {
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);
20 } // namespace content
22 #endif // CONTENT_COMMON_SWAPPED_OUT_MESSAGES_H_