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

Side by Side Diff: chrome/common/plugin_messages.cc

Issue 20015: Make it easier to create new IPC channel types (i.e. renderer/plugin). Inste... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 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/common/plugin_messages.h ('k') | chrome/common/plugin_messages_internal.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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 }
OLDNEW
« no previous file with comments | « chrome/common/plugin_messages.h ('k') | chrome/common/plugin_messages_internal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698