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 | 8 |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
11 #include "content/common/appcache_interfaces.h" | 11 #include "content/common/appcache_interfaces.h" |
12 #include "url/ipc/url_param_traits.h" | |
13 | 12 |
14 #define IPC_MESSAGE_START AppCacheMsgStart | 13 #define IPC_MESSAGE_START AppCacheMsgStart |
15 | 14 |
16 IPC_ENUM_TRAITS_MAX_VALUE(content::AppCacheEventID, | 15 IPC_ENUM_TRAITS_MAX_VALUE(content::AppCacheEventID, |
17 content::APPCACHE_EVENT_ID_LAST) | 16 content::APPCACHE_EVENT_ID_LAST) |
18 IPC_ENUM_TRAITS_MAX_VALUE(content::AppCacheStatus, | 17 IPC_ENUM_TRAITS_MAX_VALUE(content::AppCacheStatus, |
19 content::APPCACHE_STATUS_LAST) | 18 content::APPCACHE_STATUS_LAST) |
20 IPC_ENUM_TRAITS_MAX_VALUE(content::AppCacheErrorReason, | 19 IPC_ENUM_TRAITS_MAX_VALUE(content::AppCacheErrorReason, |
21 content::APPCACHE_ERROR_REASON_LAST) | 20 content::APPCACHE_ERROR_REASON_LAST) |
22 | 21 |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 // Notifies the renderer of an AppCache logging message. | 152 // Notifies the renderer of an AppCache logging message. |
154 IPC_MESSAGE_CONTROL3(AppCacheMsg_LogMessage, | 153 IPC_MESSAGE_CONTROL3(AppCacheMsg_LogMessage, |
155 int /* host_id */, | 154 int /* host_id */, |
156 int /* log_level */, | 155 int /* log_level */, |
157 std::string /* message */) | 156 std::string /* message */) |
158 | 157 |
159 // Notifies the renderer of the fact that AppCache access was blocked. | 158 // Notifies the renderer of the fact that AppCache access was blocked. |
160 IPC_MESSAGE_CONTROL2(AppCacheMsg_ContentBlocked, | 159 IPC_MESSAGE_CONTROL2(AppCacheMsg_ContentBlocked, |
161 int /* host_id */, | 160 int /* host_id */, |
162 GURL /* manifest_url */) | 161 GURL /* manifest_url */) |
OLD | NEW |