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

Side by Side Diff: chrome/common/worker_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/worker_messages.h ('k') | chrome/common/worker_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/worker_messages.h"
6
7 #include "chrome/common/common_param_traits.h" 5 #include "chrome/common/common_param_traits.h"
8 6
9 #define MESSAGES_INTERNAL_IMPL_FILE \ 7 #define IPC_MESSAGE_IMPL
10 "chrome/common/worker_messages_internal.h" 8 #include "chrome/common/worker_messages.h"
11 #include "ipc/ipc_message_impl_macros.h"
12 9
13 WorkerHostMsg_PostConsoleMessageToWorkerObject_Params:: 10 WorkerHostMsg_PostConsoleMessageToWorkerObject_Params::
14 WorkerHostMsg_PostConsoleMessageToWorkerObject_Params() 11 WorkerHostMsg_PostConsoleMessageToWorkerObject_Params()
15 : source_identifier(-1), 12 : source_identifier(-1),
16 message_type(-1), 13 message_type(-1),
17 message_level(-1), 14 message_level(-1),
18 line_number(-1) { 15 line_number(-1) {
19 } 16 }
20 17
21 WorkerHostMsg_PostConsoleMessageToWorkerObject_Params:: 18 WorkerHostMsg_PostConsoleMessageToWorkerObject_Params::
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 l->append(", "); 108 l->append(", ");
112 LogParam(p.creator_process_id, l); 109 LogParam(p.creator_process_id, l);
113 l->append(", "); 110 l->append(", ");
114 LogParam(p.creator_appcache_host_id, l); 111 LogParam(p.creator_appcache_host_id, l);
115 l->append(", "); 112 l->append(", ");
116 LogParam(p.shared_worker_appcache_id, l); 113 LogParam(p.shared_worker_appcache_id, l);
117 l->append(")"); 114 l->append(")");
118 } 115 }
119 116
120 } // namespace IPC 117 } // namespace IPC
OLDNEW
« no previous file with comments | « chrome/common/worker_messages.h ('k') | chrome/common/worker_messages_internal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698