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

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

Issue 8399007: Removing dedicated worker-related IPC codei (first round). (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: CR feedback Created 9 years, 1 month 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 | « content/browser/worker_host/worker_service.cc ('k') | content/content_worker.gypi » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // Multiply-included message file, hence no include guard. 8 // Multiply-included message file, hence no include guard.
9 9
10 #include <string> 10 #include <string>
(...skipping 25 matching lines...) Expand all
36 IPC_STRUCT_MEMBER(int, message_type) 36 IPC_STRUCT_MEMBER(int, message_type)
37 IPC_STRUCT_MEMBER(int, message_level) 37 IPC_STRUCT_MEMBER(int, message_level)
38 IPC_STRUCT_MEMBER(string16, message) 38 IPC_STRUCT_MEMBER(string16, message)
39 IPC_STRUCT_MEMBER(int, line_number) 39 IPC_STRUCT_MEMBER(int, line_number)
40 IPC_STRUCT_MEMBER(string16, source_url) 40 IPC_STRUCT_MEMBER(string16, source_url)
41 IPC_STRUCT_END() 41 IPC_STRUCT_END()
42 42
43 // Parameter structure for WorkerProcessMsg_CreateWorker. 43 // Parameter structure for WorkerProcessMsg_CreateWorker.
44 IPC_STRUCT_BEGIN(WorkerProcessMsg_CreateWorker_Params) 44 IPC_STRUCT_BEGIN(WorkerProcessMsg_CreateWorker_Params)
45 IPC_STRUCT_MEMBER(GURL, url) 45 IPC_STRUCT_MEMBER(GURL, url)
46 IPC_STRUCT_MEMBER(bool, is_shared)
47 IPC_STRUCT_MEMBER(string16, name) 46 IPC_STRUCT_MEMBER(string16, name)
48 IPC_STRUCT_MEMBER(int, route_id) 47 IPC_STRUCT_MEMBER(int, route_id)
49 IPC_STRUCT_MEMBER(int, creator_process_id) 48 IPC_STRUCT_MEMBER(int, creator_process_id)
50 // Only valid for dedicated workers.
51 IPC_STRUCT_MEMBER(int, creator_appcache_host_id)
52 // Only valid for shared workers.
53 IPC_STRUCT_MEMBER(int64, shared_worker_appcache_id) 49 IPC_STRUCT_MEMBER(int64, shared_worker_appcache_id)
54 IPC_STRUCT_END() 50 IPC_STRUCT_END()
55 51
56 //----------------------------------------------------------------------------- 52 //-----------------------------------------------------------------------------
57 // WorkerProcess messages 53 // WorkerProcess messages
58 // These are messages sent from the browser to the worker process. 54 // These are messages sent from the browser to the worker process.
59 IPC_MESSAGE_CONTROL1(WorkerProcessMsg_CreateWorker, 55 IPC_MESSAGE_CONTROL1(WorkerProcessMsg_CreateWorker,
60 WorkerProcessMsg_CreateWorker_Params) 56 WorkerProcessMsg_CreateWorker_Params)
61 57
62 // Note: these Message Port related messages can also be sent to the 58 // Note: these Message Port related messages can also be sent to the
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 165
170 IPC_MESSAGE_ROUTED1(WorkerHostMsg_ConfirmMessageFromWorkerObject, 166 IPC_MESSAGE_ROUTED1(WorkerHostMsg_ConfirmMessageFromWorkerObject,
171 bool /* bool has_pending_activity */) 167 bool /* bool has_pending_activity */)
172 168
173 IPC_MESSAGE_ROUTED1(WorkerHostMsg_ReportPendingActivity, 169 IPC_MESSAGE_ROUTED1(WorkerHostMsg_ReportPendingActivity,
174 bool /* bool has_pending_activity */) 170 bool /* bool has_pending_activity */)
175 171
176 IPC_MESSAGE_CONTROL1(WorkerHostMsg_WorkerContextClosed, 172 IPC_MESSAGE_CONTROL1(WorkerHostMsg_WorkerContextClosed,
177 int /* worker_route_id */) 173 int /* worker_route_id */)
178 IPC_MESSAGE_ROUTED0(WorkerHostMsg_WorkerContextDestroyed) 174 IPC_MESSAGE_ROUTED0(WorkerHostMsg_WorkerContextDestroyed)
179
OLDNEW
« no previous file with comments | « content/browser/worker_host/worker_service.cc ('k') | content/content_worker.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698