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

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

Issue 5526008: Simplify the magic required to create IPC message headers a bit. (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/common/nacl_messages_internal.h ('k') | chrome/common/plugin_messages.cc » ('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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 // Defines messages between the browser and plugin process, as well as between 5 // Defines messages between the browser and plugin process, as well as between
6 // the renderer and plugin process. 6 // the renderer and plugin process.
7 // 7 //
8 // See render_message* for information about the multi-pass include of headers. 8 // See render_message* for information about the multi-pass include of headers.
9 9
10 #ifndef CHROME_COMMON_PLUGIN_MESSAGES_H_ 10 #ifndef CHROME_COMMON_PLUGIN_MESSAGES_H_
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 template <> 229 template <>
230 struct ParamTraits<PluginMsg_UpdateGeometry_Param> { 230 struct ParamTraits<PluginMsg_UpdateGeometry_Param> {
231 typedef PluginMsg_UpdateGeometry_Param param_type; 231 typedef PluginMsg_UpdateGeometry_Param param_type;
232 static void Write(Message* m, const param_type& p); 232 static void Write(Message* m, const param_type& p);
233 static bool Read(const Message* m, void** iter, param_type* r); 233 static bool Read(const Message* m, void** iter, param_type* r);
234 static void Log(const param_type& p, std::string* l); 234 static void Log(const param_type& p, std::string* l);
235 }; 235 };
236 236
237 } // namespace IPC 237 } // namespace IPC
238 238
239 239 #include "chrome/common/plugin_messages_internal.h"
240 #define MESSAGES_INTERNAL_FILE "chrome/common/plugin_messages_internal.h"
241 #include "ipc/ipc_message_macros.h"
242 240
243 #endif // CHROME_COMMON_PLUGIN_MESSAGES_H_ 241 #endif // CHROME_COMMON_PLUGIN_MESSAGES_H_
OLDNEW
« no previous file with comments | « chrome/common/nacl_messages_internal.h ('k') | chrome/common/plugin_messages.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698