chromium/ipc/message_filter.h

// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef IPC_MESSAGE_FILTER_H_
#define IPC_MESSAGE_FILTER_H_

#include <stdint.h>

#include <vector>

#include "base/component_export.h"
#include "base/memory/ref_counted.h"
#include "ipc/ipc_channel.h"

namespace IPC {

class Message;

// A class that receives messages on the thread where the IPC channel is
// running.  It can choose to prevent the default action for an IPC message.
class COMPONENT_EXPORT(IPC) MessageFilter
    : public base::RefCountedThreadSafe<MessageFilter> {};

}  // namespace IPC

#endif  // IPC_MESSAGE_FILTER_H_