| OLD | NEW |
| 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 #ifndef CONTENT_COMMON_SERVICE_WORKER_EMBEDDED_WORKER_MESSAGES_H_ |
| 6 #define CONTENT_COMMON_SERVICE_WORKER_EMBEDDED_WORKER_MESSAGES_H_ |
| 7 |
| 5 // Message definition file, included multiple times, hence no include guard. | 8 // Message definition file, included multiple times, hence no include guard. |
| 6 | 9 |
| 7 #include <stdint.h> | 10 #include <stdint.h> |
| 8 | 11 |
| 9 #include <string> | 12 #include <string> |
| 10 | 13 |
| 11 #include "content/common/service_worker/embedded_worker_settings.h" | 14 #include "content/common/service_worker/embedded_worker_settings.h" |
| 12 #include "content/common/service_worker/embedded_worker_start_params.h" | 15 #include "content/common/service_worker/embedded_worker_start_params.h" |
| 13 #include "content/public/common/console_message_level.h" | 16 #include "content/public/common/console_message_level.h" |
| 14 #include "content/public/common/web_preferences.h" | 17 #include "content/public/common/web_preferences.h" |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 // for this for easier cross-thread message dispatching. | 55 // for this for easier cross-thread message dispatching. |
| 53 | 56 |
| 54 #undef IPC_MESSAGE_START | 57 #undef IPC_MESSAGE_START |
| 55 #define IPC_MESSAGE_START EmbeddedWorkerContextMsgStart | 58 #define IPC_MESSAGE_START EmbeddedWorkerContextMsgStart |
| 56 | 59 |
| 57 // Browser -> Renderer message to send message. | 60 // Browser -> Renderer message to send message. |
| 58 IPC_MESSAGE_CONTROL3(EmbeddedWorkerContextMsg_MessageToWorker, | 61 IPC_MESSAGE_CONTROL3(EmbeddedWorkerContextMsg_MessageToWorker, |
| 59 int /* thread_id */, | 62 int /* thread_id */, |
| 60 int /* embedded_worker_id */, | 63 int /* embedded_worker_id */, |
| 61 IPC::Message /* message */) | 64 IPC::Message /* message */) |
| 65 |
| 66 #endif // CONTENT_COMMON_SERVICE_WORKER_EMBEDDED_WORKER_MESSAGES_H_ |
| OLD | NEW |