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

Side by Side Diff: content/common/service_worker/embedded_worker_messages.h

Issue 257463002: Indent for each IPC_STRUCT_MEMBER in embedded_worker_messages.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 8 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 // Message definition file, included multiple times, hence no include guard. 5 // Message definition file, included multiple times, hence no include guard.
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "ipc/ipc_message.h" 9 #include "ipc/ipc_message.h"
10 #include "ipc/ipc_message_macros.h" 10 #include "ipc/ipc_message_macros.h"
11 #include "ipc/ipc_param_traits.h" 11 #include "ipc/ipc_param_traits.h"
12 #include "url/gurl.h" 12 #include "url/gurl.h"
13 13
14 #undef IPC_MESSAGE_EXPORT 14 #undef IPC_MESSAGE_EXPORT
15 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT 15 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT
16 16
17 #define IPC_MESSAGE_START EmbeddedWorkerMsgStart 17 #define IPC_MESSAGE_START EmbeddedWorkerMsgStart
18 18
19 // Parameters structure for EmbeddedWorkerHostMsg_ReportConsoleMessage. 19 // Parameters structure for EmbeddedWorkerHostMsg_ReportConsoleMessage.
20 // The data members directly correspond to parameters of 20 // The data members directly correspond to parameters of
21 // WorkerMessagingProxy::reportConsoleMessage() 21 // WorkerMessagingProxy::reportConsoleMessage()
22 IPC_STRUCT_BEGIN(EmbeddedWorkerHostMsg_ReportConsoleMessage_Params) 22 IPC_STRUCT_BEGIN(EmbeddedWorkerHostMsg_ReportConsoleMessage_Params)
23 IPC_STRUCT_MEMBER(int, source_identifier) 23 IPC_STRUCT_MEMBER(int, source_identifier)
24 IPC_STRUCT_MEMBER(int, message_level) 24 IPC_STRUCT_MEMBER(int, message_level)
25 IPC_STRUCT_MEMBER(base::string16, message) 25 IPC_STRUCT_MEMBER(base::string16, message)
26 IPC_STRUCT_MEMBER(int, line_number) 26 IPC_STRUCT_MEMBER(int, line_number)
27 IPC_STRUCT_MEMBER(GURL, source_url) 27 IPC_STRUCT_MEMBER(GURL, source_url)
28 IPC_STRUCT_END() 28 IPC_STRUCT_END()
29 29
30 // Browser -> Renderer message to create a new embedded worker context. 30 // Browser -> Renderer message to create a new embedded worker context.
31 IPC_MESSAGE_CONTROL4(EmbeddedWorkerMsg_StartWorker, 31 IPC_MESSAGE_CONTROL4(EmbeddedWorkerMsg_StartWorker,
32 int /* embedded_worker_id */, 32 int /* embedded_worker_id */,
33 int64 /* service_worker_version_id */, 33 int64 /* service_worker_version_id */,
34 GURL /* scope */, 34 GURL /* scope */,
35 GURL /* script_url */) 35 GURL /* script_url */)
36 36
37 // Browser -> Renderer message to stop (terminate) the embedded worker. 37 // Browser -> Renderer message to stop (terminate) the embedded worker.
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 78
79 // Browser -> Renderer message to send message. 79 // Browser -> Renderer message to send message.
80 // |request_id| might be used for bi-directional messaging (in the case where 80 // |request_id| might be used for bi-directional messaging (in the case where
81 // browser side expects a corresponding EmbeddedWorkerHostMsg_ReplyToBrowser 81 // browser side expects a corresponding EmbeddedWorkerHostMsg_ReplyToBrowser
82 // message for the |request_id|. 82 // message for the |request_id|.
83 IPC_MESSAGE_CONTROL4(EmbeddedWorkerContextMsg_MessageToWorker, 83 IPC_MESSAGE_CONTROL4(EmbeddedWorkerContextMsg_MessageToWorker,
84 int /* thread_id */, 84 int /* thread_id */,
85 int /* embedded_worker_id */, 85 int /* embedded_worker_id */,
86 int /* request_id */, 86 int /* request_id */,
87 IPC::Message /* message */) 87 IPC::Message /* message */)
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698