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 // 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 "base/strings/string16.h" | 7 #include "base/strings/string16.h" |
8 #include "content/common/service_worker/service_worker_status_code.h" | |
9 #include "content/common/service_worker/service_worker_types.h" | 8 #include "content/common/service_worker/service_worker_types.h" |
| 9 #include "content/public/common/service_worker_status_code.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 "third_party/WebKit/public/platform/WebServiceWorkerError.h" | 12 #include "third_party/WebKit/public/platform/WebServiceWorkerError.h" |
13 #include "url/gurl.h" | 13 #include "url/gurl.h" |
14 | 14 |
15 #undef IPC_MESSAGE_EXPORT | 15 #undef IPC_MESSAGE_EXPORT |
16 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT | 16 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
17 | 17 |
18 #define IPC_MESSAGE_START ServiceWorkerMsgStart | 18 #define IPC_MESSAGE_START ServiceWorkerMsgStart |
19 | 19 |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 // Informs the browser that install event handling has finished. | 112 // Informs the browser that install event handling has finished. |
113 // Sent via EmbeddedWorker. If there was an exception during the | 113 // Sent via EmbeddedWorker. If there was an exception during the |
114 // event handling it'll be reported back separately (to be propagated | 114 // event handling it'll be reported back separately (to be propagated |
115 // to the documents). | 115 // to the documents). |
116 IPC_MESSAGE_CONTROL0(ServiceWorkerHostMsg_InstallEventFinished) | 116 IPC_MESSAGE_CONTROL0(ServiceWorkerHostMsg_InstallEventFinished) |
117 | 117 |
118 // Informs the browser that fetch event handling has finished. | 118 // Informs the browser that fetch event handling has finished. |
119 IPC_MESSAGE_CONTROL2(ServiceWorkerHostMsg_FetchEventFinished, | 119 IPC_MESSAGE_CONTROL2(ServiceWorkerHostMsg_FetchEventFinished, |
120 content::ServiceWorkerFetchEventResult, | 120 content::ServiceWorkerFetchEventResult, |
121 content::ServiceWorkerResponse) | 121 content::ServiceWorkerResponse) |
OLD | NEW |