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

Side by Side Diff: ipc/ipc_message_macros.h

Issue 5698008: Switch a bunch of remaining filters to derive from BrowserMessageFilters so t... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years 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/worker/worker_webkitclient_impl.cc ('k') | ipc/ipc_message_utils.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 (c) 2006-2008 The Chromium Authors. All rights reserved. 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 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 // This header is meant to be included in multiple passes, hence no traditional 5 // This header is meant to be included in multiple passes, hence no traditional
6 // header guard. 6 // header guard.
7 // 7 //
8 // In your XXX_messages_internal.h file, before defining any messages do: 8 // In your XXX_messages_internal.h file, before defining any messages do:
9 // #define IPC_MESSAGE_START XMsgStart 9 // #define IPC_MESSAGE_START XMsgStart
10 // XMstStart value is from the IPCMessageStart enum in ipc_message_utils.h, and 10 // XMstStart value is from the IPCMessageStart enum in ipc_message_utils.h, and
(...skipping 1013 matching lines...) Expand 10 before | Expand all | Expand 10 after
1024 ipc_message__.type()) 1024 ipc_message__.type())
1025 1025
1026 #define IPC_END_MESSAGE_MAP() \ 1026 #define IPC_END_MESSAGE_MAP() \
1027 DCHECK(msg_is_ok__); \ 1027 DCHECK(msg_is_ok__); \
1028 } \ 1028 } \
1029 } 1029 }
1030 1030
1031 #define IPC_END_MESSAGE_MAP_EX() \ 1031 #define IPC_END_MESSAGE_MAP_EX() \
1032 } \ 1032 } \
1033 } 1033 }
1034
1035 // This corresponds to an enum value from IPCMessageStart.
1036 #define IPC_MESSAGE_CLASS(message) \
1037 message.type() >> 16
OLDNEW
« no previous file with comments | « chrome/worker/worker_webkitclient_impl.cc ('k') | ipc/ipc_message_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698