Roll src/third_party/WebKit 57aef96:a1089e6 (svn 201978:201979)
[chromium-blink-merge.git] / chrome / utility / utility_message_handler.h
bloba86219188096a6dc473c40c233c816bcdc6023ba
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.
5 #ifndef CHROME_UTILITY_UTILITY_MESSAGE_HANDLER_H_
6 #define CHROME_UTILITY_UTILITY_MESSAGE_HANDLER_H_
8 namespace IPC {
9 class Message;
12 class UtilityMessageHandler {
13 public:
14 virtual ~UtilityMessageHandler() {}
16 // Called when a message is received. Returns true iff the message was
17 // handled.
18 virtual bool OnMessageReceived(const IPC::Message& message) = 0;
21 #endif // CHROME_UTILITY_UTILITY_MESSAGE_HANDLER_H_