| OLD | NEW |
| 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 // Multiply-included message file, hence no include guard. | 5 // Multiply-included message file, hence no include guard. |
| 6 | 6 |
| 7 #include "ipc/ipc_message_macros.h" | 7 #include "ipc/ipc_message_macros.h" |
| 8 #include "webkit/common/appcache/appcache_interfaces.h" | 8 #include "webkit/common/appcache/appcache_interfaces.h" |
| 9 | 9 |
| 10 #define IPC_MESSAGE_START AppCacheMsgStart | 10 #define IPC_MESSAGE_START AppCacheMsgStart |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 appcache::EventID) | 123 appcache::EventID) |
| 124 | 124 |
| 125 // Notifies the renderer of an AppCache progress event. | 125 // Notifies the renderer of an AppCache progress event. |
| 126 IPC_MESSAGE_CONTROL4(AppCacheMsg_ProgressEventRaised, | 126 IPC_MESSAGE_CONTROL4(AppCacheMsg_ProgressEventRaised, |
| 127 std::vector<int> /* host_ids */, | 127 std::vector<int> /* host_ids */, |
| 128 GURL /* url being processed */, | 128 GURL /* url being processed */, |
| 129 int /* total */, | 129 int /* total */, |
| 130 int /* complete */) | 130 int /* complete */) |
| 131 | 131 |
| 132 // Notifies the renderer of an AppCache error event. | 132 // Notifies the renderer of an AppCache error event. |
| 133 IPC_MESSAGE_CONTROL2(AppCacheMsg_ErrorEventRaised, | 133 IPC_MESSAGE_CONTROL5(AppCacheMsg_ErrorEventRaised, |
| 134 std::vector<int> /* host_ids */, | 134 std::vector<int> /* host_ids */, |
| 135 std::string /* error_message */) | 135 std::string /* message */, |
| 136 std::string /* reason */, |
| 137 GURL /* resource URL */, |
| 138 int /* HTTP status */) |
| 136 | 139 |
| 137 // Notifies the renderer of an AppCache logging message. | 140 // Notifies the renderer of an AppCache logging message. |
| 138 IPC_MESSAGE_CONTROL3(AppCacheMsg_LogMessage, | 141 IPC_MESSAGE_CONTROL3(AppCacheMsg_LogMessage, |
| 139 int /* host_id */, | 142 int /* host_id */, |
| 140 int /* log_level */, | 143 int /* log_level */, |
| 141 std::string /* message */) | 144 std::string /* message */) |
| 142 | 145 |
| 143 // Notifies the renderer of the fact that AppCache access was blocked. | 146 // Notifies the renderer of the fact that AppCache access was blocked. |
| 144 IPC_MESSAGE_CONTROL2(AppCacheMsg_ContentBlocked, | 147 IPC_MESSAGE_CONTROL2(AppCacheMsg_ContentBlocked, |
| 145 int /* host_id */, | 148 int /* host_id */, |
| 146 GURL /* manifest_url */) | 149 GURL /* manifest_url */) |
| OLD | NEW |