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

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

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/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
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #include "chrome/common/plugin_messages.h"
6
7 #include "base/utf_string_conversions.h" 5 #include "base/utf_string_conversions.h"
8 #include "ipc/ipc_channel_handle.h" 6 #include "ipc/ipc_channel_handle.h"
9 7
10 #define MESSAGES_INTERNAL_IMPL_FILE \ 8 #define IPC_MESSAGE_IMPL
11 "chrome/common/plugin_messages_internal.h" 9 #include "chrome/common/plugin_messages.h"
12 #include "ipc/ipc_message_impl_macros.h"
13 10
14 PluginMsg_Init_Params::PluginMsg_Init_Params() 11 PluginMsg_Init_Params::PluginMsg_Init_Params()
15 : containing_window(0), 12 : containing_window(0),
16 load_manually(false), 13 load_manually(false),
17 host_render_view_routing_id(-1) { 14 host_render_view_routing_id(-1) {
18 } 15 }
19 16
20 PluginMsg_Init_Params::~PluginMsg_Init_Params() { 17 PluginMsg_Init_Params::~PluginMsg_Init_Params() {
21 } 18 }
22 19
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 l->append(", "); 305 l->append(", ");
309 LogParam(p.transparent, l); 306 LogParam(p.transparent, l);
310 #if defined(OS_MACOSX) 307 #if defined(OS_MACOSX)
311 l->append(", "); 308 l->append(", ");
312 LogParam(p.ack_key, l); 309 LogParam(p.ack_key, l);
313 #endif 310 #endif
314 l->append(")"); 311 l->append(")");
315 } 312 }
316 313
317 } // namespace IPC 314 } // namespace IPC
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