OLD | NEW |
| (Empty) |
1 // Copyright (c) 2006-2008 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 #include "chrome/common/ipc_message.h" | |
6 | |
7 #ifdef IPC_MESSAGE_LOG_ENABLED | |
8 | |
9 #define IPC_MESSAGE_MACROS_LOG_ENABLED | |
10 | |
11 #endif // IPC_MESSAGE_LOG_ENABLED | |
12 | |
13 #include "chrome/common/plugin_messages.h" | |
14 | |
15 void PluginMessagesInit() { | |
16 #ifdef IPC_MESSAGE_LOG_ENABLED | |
17 IPC::RegisterMessageLogger(PluginProcessStart, PluginProcessMsgLog); | |
18 IPC::RegisterMessageLogger(PluginProcessHostStart, PluginProcessHostMsgLog); | |
19 IPC::RegisterMessageLogger(PluginStart, PluginMsgLog); | |
20 IPC::RegisterMessageLogger(PluginHostStart, PluginHostMsgLog); | |
21 IPC::RegisterMessageLogger(NPObjectStart, NPObjectMsgLog); | |
22 #endif | |
23 } | |
OLD | NEW |