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

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

Issue 155905: Separates ipc code from common (http://crbug.com/16829) (Closed)
Patch Set: Fixes reference to 'common_message_traits' it's actually 'common_param_traits' Created 11 years, 5 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
« no previous file with comments | « chrome/common/webkit_param_traits.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) 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 worker process, as well as between 5 // Defines messages between the browser and worker process, as well as between
6 // the renderer and worker process. 6 // the renderer and worker process.
7 7
8 #ifndef CHROME_COMMON_WORKER_MESSAGES_H_ 8 #ifndef CHROME_COMMON_WORKER_MESSAGES_H_
9 #define CHROME_COMMON_WORKER_MESSAGES_H_ 9 #define CHROME_COMMON_WORKER_MESSAGES_H_
10 10
11 #include <string> 11 #include <string>
12 12
13 #include "base/basictypes.h" 13 #include "base/basictypes.h"
14 #include "chrome/common/ipc_message_utils.h" 14 #include "chrome/common/common_param_traits.h"
15 #include "ipc/ipc_message_utils.h"
15 16
16 // Parameters structure for WorkerHostMsg_PostConsoleMessageToWorkerObject, 17 // Parameters structure for WorkerHostMsg_PostConsoleMessageToWorkerObject,
17 // which has too many data parameters to be reasonably put in a predefined 18 // which has too many data parameters to be reasonably put in a predefined
18 // IPC message. The data members directly correspond to parameters of 19 // IPC message. The data members directly correspond to parameters of
19 // WebWorkerClient::postConsoleMessageToWorkerObject() 20 // WebWorkerClient::postConsoleMessageToWorkerObject()
20 struct WorkerHostMsg_PostConsoleMessageToWorkerObject_Params { 21 struct WorkerHostMsg_PostConsoleMessageToWorkerObject_Params {
21 int destination_identifier; 22 int destination_identifier;
22 int source_identifier; 23 int source_identifier;
23 int message_type; 24 int message_type;
24 int message_level; 25 int message_level;
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 LogParam(p.line_number, l); 69 LogParam(p.line_number, l);
69 l->append(L", "); 70 l->append(L", ");
70 LogParam(p.source_url, l); 71 LogParam(p.source_url, l);
71 l->append(L")"); 72 l->append(L")");
72 } 73 }
73 }; 74 };
74 75
75 } // namespace IPC 76 } // namespace IPC
76 77
77 #define MESSAGES_INTERNAL_FILE "chrome/common/worker_messages_internal.h" 78 #define MESSAGES_INTERNAL_FILE "chrome/common/worker_messages_internal.h"
78 #include "chrome/common/ipc_message_macros.h" 79 #include "ipc/ipc_message_macros.h"
79 80
80 #endif // CHROME_COMMON_WORKER_MESSAGES_H_ 81 #endif // CHROME_COMMON_WORKER_MESSAGES_H_
OLDNEW
« no previous file with comments | « chrome/common/webkit_param_traits.h ('k') | chrome/common/worker_messages_internal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698