diff options
Diffstat (limited to 'chrome/common/plugin_messages.cc')
-rw-r--r-- | chrome/common/plugin_messages.cc | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/chrome/common/plugin_messages.cc b/chrome/common/plugin_messages.cc new file mode 100644 index 0000000..cd5b00a --- /dev/null +++ b/chrome/common/plugin_messages.cc @@ -0,0 +1,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 +} |