Home | History | Annotate | Download | only in common
      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.
      4 
      5 #ifndef CONTENT_COMMON_SWAPPED_OUT_MESSAGES_H_
      6 #define CONTENT_COMMON_SWAPPED_OUT_MESSAGES_H_
      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_
     23