blob: cd5b00a3edc48bb67e7f9d0b881f21ff7352bc87 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/common/ipc_message.h"
#ifdef IPC_MESSAGE_LOG_ENABLED
#define IPC_MESSAGE_MACROS_LOG_ENABLED
#endif // IPC_MESSAGE_LOG_ENABLED
#include "chrome/common/plugin_messages.h"
void PluginMessagesInit() {
#ifdef IPC_MESSAGE_LOG_ENABLED
IPC::RegisterMessageLogger(PluginProcessStart, PluginProcessMsgLog);
IPC::RegisterMessageLogger(PluginProcessHostStart, PluginProcessHostMsgLog);
IPC::RegisterMessageLogger(PluginStart, PluginMsgLog);
IPC::RegisterMessageLogger(PluginHostStart, PluginHostMsgLog);
IPC::RegisterMessageLogger(NPObjectStart, NPObjectMsgLog);
#endif
}
|