1// Copyright 2013 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 CHROME_UTILITY_UTILITY_MESSAGE_HANDLER_H_
6#define CHROME_UTILITY_UTILITY_MESSAGE_HANDLER_H_
7
8namespace IPC {
9class Message;
10}
11
12namespace chrome {
13
14class UtilityMessageHandler {
15 public:
16  virtual ~UtilityMessageHandler() {}
17
18  // Called when a message is received.  Returns true iff the message was
19  // handled.
20  virtual bool OnMessageReceived(const IPC::Message& message) = 0;
21};
22
23}  // namespace chrome
24
25#endif  // CHROME_UTILITY_UTILITY_MESSAGE_HANDLER_H_
26
27