Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(628)

Side by Side Diff: chrome/utility/utility_message_handler.h

Issue 323693002: Split printing utility IPC messages into its own file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/utility/profile_import_handler.cc ('k') | ipc/ipc_message_start.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_UTILITY_UTILITY_MESSAGE_HANDLER_H_ 5 #ifndef CHROME_UTILITY_UTILITY_MESSAGE_HANDLER_H_
6 #define CHROME_UTILITY_UTILITY_MESSAGE_HANDLER_H_ 6 #define CHROME_UTILITY_UTILITY_MESSAGE_HANDLER_H_
7 7
8 namespace IPC { 8 namespace IPC {
9 class Message; 9 class Message;
10 } 10 }
11 11
12 namespace chrome {
13
14 class UtilityMessageHandler { 12 class UtilityMessageHandler {
15 public: 13 public:
16 virtual ~UtilityMessageHandler() {} 14 virtual ~UtilityMessageHandler() {}
17 15
18 // Called when a message is received. Returns true iff the message was 16 // Called when a message is received. Returns true iff the message was
19 // handled. 17 // handled.
20 virtual bool OnMessageReceived(const IPC::Message& message) = 0; 18 virtual bool OnMessageReceived(const IPC::Message& message) = 0;
21 }; 19 };
22 20
23 } // namespace chrome
24
25 #endif // CHROME_UTILITY_UTILITY_MESSAGE_HANDLER_H_ 21 #endif // CHROME_UTILITY_UTILITY_MESSAGE_HANDLER_H_
26 22
OLDNEW
« no previous file with comments | « chrome/utility/profile_import_handler.cc ('k') | ipc/ipc_message_start.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698